Class StringUtil

java.lang.Object
io.github.lucfr1746.llibrary.util.helper.StringUtil

public class StringUtil extends Object
  • Constructor Details

    • StringUtil

      public StringUtil()
  • Method Details

    • format

      @Contract("!null, _, _ -> !null") @Nullable public static @Nullable String format(@Nullable @Nullable String text, @Nullable @Nullable org.bukkit.entity.Player player, String... holders)
    • revertColors

      @Contract("!null -> !null") @Nullable public static @Nullable String revertColors(@Nullable @Nullable String text)
    • clearColors

      @Contract("!null -> !null") @Nullable public static @Nullable String clearColors(@Nullable @Nullable String text)
    • formatNumber

      @NotNull public static @NotNull String formatNumber(double value, int decimals, boolean optional)