Interface XPrisonEnchantmentGuiProperties
public interface XPrisonEnchantmentGuiProperties
-
Method Summary
Modifier and TypeMethodDescriptionGets the Base64 texture data for the GUI item, useful if using a custom player head.Gets the lore (description) of the GUI item for this enchantment.org.bukkit.Material
Gets the material type of the GUI item representing this enchantment.Gets the display name of the GUI item representing this enchantment.int
Gets the slot number in the enchanting GUI where this enchantment is displayed.
-
Method Details
-
getGuiSlot
int getGuiSlot()Gets the slot number in the enchanting GUI where this enchantment is displayed.- Returns:
- The GUI slot index.
-
getGuiMaterial
org.bukkit.Material getGuiMaterial()Gets the material type of the GUI item representing this enchantment.- Returns:
- The material used in the GUI.
-
getGuiName
String getGuiName()Gets the display name of the GUI item representing this enchantment. May contain color codes.- Returns:
- The GUI item name.
-
getGuiDescription
Collection<String> getGuiDescription()Gets the lore (description) of the GUI item for this enchantment. May contain color codes.- Returns:
- A collection of lore strings.
-
getGuiBase64
String getGuiBase64()Gets the Base64 texture data for the GUI item, useful if using a custom player head.- Returns:
- The Base64 string for the GUI item texture, or null/empty if not applicable.
-