Package org.kingdoms.gui.objects
Class GUIOptionObject
java.lang.Object
org.kingdoms.gui.objects.GUIOptionObject
- All Implemented Interfaces:
GUIOptionBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConfigSectionprotected final GUIInteractionTypeprotected final org.bukkit.inventory.ItemStackprotected final MessageObjectprotected final MessageObject[]protected final MessageObjectprotected final Stringprotected final MessageObjectprotected final int[]protected final com.cryptomorin.xseries.XSound.Record -
Constructor Summary
ConstructorsConstructorDescriptionGUIOptionObject(String name, int[] slots, com.cryptomorin.xseries.XSound.Record sound, List<String> commands, GUIInteractionType interactionType, org.bukkit.inventory.ItemStack item, MessageObject itemName, MessageObject[] lore, MessageObject message, MessageObject skull, ConfigSection config) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackdefineVariables(MessageBuilder settings) org.bukkit.inventory.ItemStackgetItem()getName()getOption(PlaceholderContextProvider contextProvider) int[]getSlots()com.cryptomorin.xseries.XSound.RecordgetSound()
-
Field Details
-
name
-
slots
protected final int[] slots -
sound
protected final com.cryptomorin.xseries.XSound.Record sound -
commands
-
interactionType
-
item
protected final org.bukkit.inventory.ItemStack item -
itemName
-
lore
-
message
-
skull
-
config
-
-
Constructor Details
-
GUIOptionObject
public GUIOptionObject(String name, int[] slots, com.cryptomorin.xseries.XSound.Record sound, List<String> commands, GUIInteractionType interactionType, org.bukkit.inventory.ItemStack item, MessageObject itemName, MessageObject[] lore, MessageObject message, MessageObject skull, ConfigSection config)
-
-
Method Details
-
getInteractionType
-
getConfig
-
getOption
- Specified by:
getOptionin interfaceGUIOptionBuilder
-
getSlots
public int[] getSlots() -
getMessage
-
getSound
public com.cryptomorin.xseries.XSound.Record getSound() -
getCommands
-
getItem
public org.bukkit.inventory.ItemStack getItem() -
defineVariables
-
getName
-