Class BukkitNameLoreHandler

java.lang.Object
dev.triumphteam.gui.builder.item.BukkitNameLoreHandler
All Implemented Interfaces:
NameLoreHandler

public final class BukkitNameLoreHandler extends Object implements NameLoreHandler
  • Constructor Details

    • BukkitNameLoreHandler

      public BukkitNameLoreHandler()
  • Method Details

    • getInstance

      @NotNull public static @NotNull BukkitNameLoreHandler getInstance()
    • name

      public void name(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta itemMeta, @NotNull @NotNull net.kyori.adventure.text.Component name)
      Specified by:
      name in interface NameLoreHandler
    • lore

      public void lore(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta itemMeta, @NotNull @NotNull List<net.kyori.adventure.text.Component> lore)
      Specified by:
      lore in interface NameLoreHandler
    • lore

      public void lore(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta itemMeta, @NotNull @NotNull Consumer<List<@Nullable net.kyori.adventure.text.Component>> lore)
      Specified by:
      lore in interface NameLoreHandler