java.lang.Object
net.rainbowcreation.core.api.utils.Item
All Implemented Interfaces:
IItem

public class Item extends Object implements IItem
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • material

      public Item material(org.bukkit.Material material)
      Specified by:
      material in interface IItem
    • getMaterial

      public org.bukkit.Material getMaterial()
      Specified by:
      getMaterial in interface IItem
    • amount

      public Item amount(int n)
      Specified by:
      amount in interface IItem
    • getAmount

      public int getAmount()
      Specified by:
      getAmount in interface IItem
    • displayName

      public Item displayName(String mimnimessage)
      Specified by:
      displayName in interface IItem
    • getName

      public net.kyori.adventure.text.Component getName()
      Specified by:
      getName in interface IItem
    • lore

      public Item lore(List<String> loreListColored)
      Specified by:
      lore in interface IItem
    • lore

      public Item lore(String minimessage)
      Specified by:
      lore in interface IItem
    • getLore

      public List<String> getLore()
      Specified by:
      getLore in interface IItem
    • customModelData

      public Item customModelData(int modelNumber)
      Specified by:
      customModelData in interface IItem
    • getCustomModelData

      public int getCustomModelData()
      Specified by:
      getCustomModelData in interface IItem
    • get

      public org.bukkit.inventory.ItemStack get()
      Specified by:
      get in interface IItem
    • getrandomFirework

      public org.bukkit.inventory.ItemStack getrandomFirework()
      Specified by:
      getrandomFirework in interface IItem