java.lang.Object
org.strassburger.lifestealz.util.customitems.CustomItem

public class CustomItem extends Object
  • Constructor Details

    • CustomItem

      public CustomItem(org.bukkit.inventory.ItemStack itemStack)
    • CustomItem

      public CustomItem(org.bukkit.Material material)
    • CustomItem

      public CustomItem()
  • Method Details

    • setMaterial

      public CustomItem setMaterial(org.bukkit.Material material)
    • setAmount

      public CustomItem setAmount(int amount)
    • setName

      public CustomItem setName(String name)
    • setName

      public CustomItem setName(net.kyori.adventure.text.Component name)
    • setCustomModelID

      public CustomItem setCustomModelID(int customModelID)
    • setUnbreakable

      public CustomItem setUnbreakable(boolean unbreakable)
    • setEnchanted

      public CustomItem setEnchanted(boolean enchanted)
    • addFlag

      public CustomItem addFlag(org.bukkit.inventory.ItemFlag itemFlag)
    • addEnchantment

      public CustomItem addEnchantment(org.bukkit.enchantments.Enchantment enchantment, int level)
    • getPersistentDataContainer

      public org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
    • makeForbidden

      public CustomItem makeForbidden()
    • setLore

      public CustomItem setLore(List<String> lore)
    • addLore

      public CustomItem addLore(String lore)
    • getItemStack

      public org.bukkit.inventory.ItemStack getItemStack()