Class GUIItem
java.lang.Object
me.block2block.hubparkour.api.gui.GUIItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the underlying ItemStack associated with this GUIItem.
-
Constructor Details
-
GUIItem
-
GUIItem
-
GUIItem
-
GUIItem
-
GUIItem
-
GUIItem
public GUIItem(Material material, String name, int amount, List<String> lore, short data, boolean glowing, int customModelData) Constructs a new GUI item with the specified properties.- Parameters:
material- the material of the itemname- the display name of the item, may be nullamount- the quantity of the itemlore- the lore (description) for the item, may be nulldata- the data value of the itemglowing- whether the item has a glowing effectcustomModelData- the data of the custom model to apply to the item (1.14+ only)
-
-
Method Details
-
getItemStack
Retrieves the underlying ItemStack associated with this GUIItem.- Returns:
- the ItemStack object representing the item.
-