Class ItemHelper


  • public class ItemHelper
    extends Object
    • Constructor Detail

      • ItemHelper

        public ItemHelper()
    • Method Detail

      • hasName

        public static boolean hasName​(org.bukkit.inventory.ItemStack item)
      • hasLore

        public static boolean hasLore​(org.bukkit.inventory.ItemStack item)
      • getName

        public static String getName​(org.bukkit.inventory.ItemStack item)
      • getLore

        public static List<String> getLore​(org.bukkit.inventory.ItemStack item)
      • setName

        public static org.bukkit.inventory.ItemStack setName​(org.bukkit.inventory.ItemStack item,
                                                             String name)
      • setLore

        public static org.bukkit.inventory.ItemStack setLore​(org.bukkit.inventory.ItemStack item,
                                                             List<String> lore)
      • setNameAndLore

        public static org.bukkit.inventory.ItemStack setNameAndLore​(org.bukkit.inventory.ItemStack item,
                                                                    String name,
                                                                    List<String> lore)