Class LoreUT

java.lang.Object
studio.magemonkey.divinity.utils.LoreUT

public class LoreUT extends Object
  • Field Details

  • Constructor Details

    • LoreUT

      public LoreUT()
  • Method Details

    • addOrReplace

      public static void addOrReplace(@NotNull List<String> lore, int orig, int line, @NotNull String format)
    • addToLore

      public static int addToLore(@NotNull List<String> lore, int pos, @NotNull String value)
    • getStrSeparated

      @NotNull public static String getStrSeparated(@NotNull Set<String> values, @NotNull String sep, @NotNull String color, int maxPerLine, String newline)
    • getStrSeparated

      @NotNull public static String getStrSeparated(@NotNull Set<String> values, @NotNull String sep, @NotNull String color)
    • getStrSeparated

      @NotNull public static String getStrSeparated(@NotNull String[] values, @NotNull String sep, @NotNull String color)
    • getStrSeparated

      @NotNull public static String getStrSeparated(@NotNull String[] values, @NotNull String sep, @NotNull String color, int maxPerLine, String newline)
    • replacePlaceholder

      public static void replacePlaceholder(@NotNull org.bukkit.inventory.ItemStack item, @NotNull String placeholder, @Nullable String r)
    • replaceEnchants

      public static void replaceEnchants(@NotNull org.bukkit.inventory.ItemStack item)