public class AbilityMenuParts
extends java.lang.Object
WauzMenu| Constructor and Description |
|---|
AbilityMenuParts() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMenuParts(org.bukkit.entity.Player player,
org.bukkit.inventory.Inventory menu,
int startIndex)
Fills the given main menu with sub menu icons.
|
static boolean |
check(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack clicked)
Checks if an event in this inventory was triggered by a player click.
|
public static void addMenuParts(org.bukkit.entity.Player player,
org.bukkit.inventory.Inventory menu,
int startIndex)
player - The player that should view the inventory.menu - The main menu inventory.startIndex - The first slot of the inventory to fill.public static boolean check(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack clicked)
player - The placer who clicked a menu item.clicked - The item that was clicled.CraftingMenu.open(Player),
SkillMenu.open(Player),
TravellingMenu.open(Player)