public class GUIItem extends Object
| Constructor and Description |
|---|
GUIItem(org.bukkit.Material material,
String name) |
GUIItem(org.bukkit.Material material,
String name,
int amount) |
GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore) |
GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data) |
GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data,
boolean glowing) |
GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data,
boolean glowing,
int customModelData)
Constructs a new GUI item with the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.inventory.ItemStack |
getItemStack()
Retrieves the underlying ItemStack associated with this GUIItem.
|
public GUIItem(org.bukkit.Material material,
String name)
public GUIItem(org.bukkit.Material material,
String name,
int amount)
public GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data)
public GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data,
boolean glowing)
public GUIItem(org.bukkit.Material material,
String name,
int amount,
List<String> lore,
short data,
boolean glowing,
int customModelData)
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)Copyright © 2025. All rights reserved.