Index
All Classes and Interfaces|All Packages
A
- addEnchant(Enchantment, int) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Add an enchantment to the item
- addLore(String) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Add a line of lore to the item
- amount(int) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Set the amount of the item
- attribute(Attribute, AttributeModifier) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Add an attribute modifier to the item
B
- builder(Material) - Static method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Create a new ItemBuilder
- builder(Material, int) - Static method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Create a new ItemBuilder
C
- chestBuilder(int, String) - Static method in class com.shanebeestudios.snippets.gui.GUI
-
Create a chest GUI builder
- com.shanebeestudios.snippets.gui - package com.shanebeestudios.snippets.gui
- com.shanebeestudios.snippets.item - package com.shanebeestudios.snippets.item
- com.shanebeestudios.snippets.utils - package com.shanebeestudios.snippets.utils
- com.shanebeestudios.snippets.wrappers - package com.shanebeestudios.snippets.wrappers
- customBuilder(InventoryType, String) - Static method in class com.shanebeestudios.snippets.gui.GUI
-
Create a custom GUI builder using any inventory type
- customModelData(int) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Set the custom model data of the item
D
- deleteKey(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Delete a value from the PDC
F
- fill(ItemStack) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Fill the GUI with an item
- fill(ItemStack, Consumer<GUI.InventoryData>) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Fill the GUI with an item to run a function when clicked
- formatSlot(int, ItemStack, Consumer<GUI.InventoryData>) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Format a slot in the GUI to run a function
- formatSlots(int[], ItemStack, Consumer<GUI.InventoryData>) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Format multiple slots in the GUI to run a function
G
- getAction() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the inventory action of the click
- getBoolean(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get a boolean
- getByte(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get a byte
- getClickedItem() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the item which was clicked on
- getColString(String) - Static method in class com.shanebeestudios.snippets.utils.Utils
-
Colorize a string which may contain ampersand or hex codes
- getEvent() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the click event
- getFloat(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get a float
- getInt(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get an integer
- getIntArray(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get an integer array
- getInventory() - Method in class com.shanebeestudios.snippets.gui.GUI
-
Get the inventory from this GUI
- getLocation(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get a location
- getPlayer() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the player who clicked
- getSlot() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the slot which was clicked
- getSlotType() - Method in class com.shanebeestudios.snippets.gui.GUI.InventoryData
-
Get the type of slot that was clicked
- getString(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Get a string
- GUI - Class in com.shanebeestudios.snippets.gui
-
Create custom GUIs
Make sure to set the plugin (this is used for event listeners) seeGUI.setPlugin(Plugin)
- GUI.InventoryData - Class in com.shanebeestudios.snippets.gui
-
Data involved when clicking a GUI slot
H
- hasKey(String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Check if this PDC has a key
I
- InventoryData(InventoryClickEvent) - Constructor for class com.shanebeestudios.snippets.gui.GUI.InventoryData
- item() - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Get the ItemStack from this builder
- ItemBuilder - Class in com.shanebeestudios.snippets.item
-
ItemBuilder class to quickly/easily create
ItemStacks
with chained methods
L
- lockSlot(int, ItemStack) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Lock a slot
- log(String, Object...) - Static method in class com.shanebeestudios.snippets.utils.Utils
- lore(String...) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Set the lore of the item
N
- name(String) - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Set the name of the item
O
- open(Player) - Method in class com.shanebeestudios.snippets.gui.GUI
-
Open this GUI to a player
P
- PDCWrapper - Class in com.shanebeestudios.snippets.wrappers
-
Wrapper for Bukkit
PDC
S
- setBoolean(String, boolean) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set a boolean
- setByte(String, byte) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set a byte
- setFloat(String, float) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set a float
- setInt(String, int) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set an integer
- setIntArray(String, int[]) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set an integer array
- setLocation(String, Location) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set a location
- setPlugin(Plugin) - Static method in class com.shanebeestudios.snippets.gui.GUI
-
Set the plugin used for listening to events.
- setPlugin(Plugin) - Static method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set the plugin using this wrapper (used for NamespacedKeys)
- setString(String, String) - Method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Set a string
U
- unbreakable() - Method in class com.shanebeestudios.snippets.item.ItemBuilder
-
Make the item unbreakable
- Utils - Class in com.shanebeestudios.snippets.utils
-
Utility class with shortcut methods
- Utils() - Constructor for class com.shanebeestudios.snippets.utils.Utils
W
- wrap(PersistentDataHolder) - Static method in class com.shanebeestudios.snippets.wrappers.PDCWrapper
-
Create a wrapper from a persistent data holder
All Classes and Interfaces|All Packages