Class Item
java.lang.Object
net.rainbowcreation.core.api.utils.Item
- All Implemented Interfaces:
IItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount(int n) customModelData(int modelNumber) displayName(String mimnimessage) org.bukkit.inventory.ItemStackget()intintgetLore()org.bukkit.Materialnet.kyori.adventure.text.ComponentgetName()org.bukkit.inventory.ItemStackmaterial(org.bukkit.Material material)
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
material
-
getMaterial
public org.bukkit.Material getMaterial()- Specified by:
getMaterialin interfaceIItem
-
amount
-
getAmount
public int getAmount() -
displayName
- Specified by:
displayNamein interfaceIItem
-
getName
public net.kyori.adventure.text.Component getName() -
lore
-
lore
-
getLore
-
customModelData
- Specified by:
customModelDatain interfaceIItem
-
getCustomModelData
public int getCustomModelData()- Specified by:
getCustomModelDatain interfaceIItem
-
get
public org.bukkit.inventory.ItemStack get() -
getrandomFirework
public org.bukkit.inventory.ItemStack getrandomFirework()- Specified by:
getrandomFireworkin interfaceIItem
-