public interface MenuItem
| Modifier and Type | Field and Description |
|---|---|
static HashMap<Class<? extends MenuItem>,MenuItem> |
items |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.bukkit.entity.Player plr,
org.bukkit.event.inventory.ClickType click)
Executes the item
|
org.bukkit.inventory.ItemStack |
getItem()
Returns the ItemStack of the item
|
void |
registerItem() |
void registerItem()
void execute(org.bukkit.entity.Player plr,
org.bukkit.event.inventory.ClickType click)
plr - Player who executedclick - org.bukkit.inventory.ItemStack getItem()
Copyright © 2015. All rights reserved.