public class WauzDialog extends java.lang.Object implements WauzInventory
WauzPlayerEvent
Constructor and Description |
---|
WauzDialog() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInventoryId() |
static void |
open(org.bukkit.entity.Player player)
Opens the menu for the given player.
|
static void |
open(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack infoItemStack)
Opens the menu for the given player.
|
void |
selectMenuPoint(org.bukkit.event.inventory.InventoryClickEvent event)
Checks if an event in this inventory was triggered by a player click.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroyInventory, getGamemodes, openInstance
public java.lang.String getInventoryId()
getInventoryId
in interface WauzInventory
public static void open(org.bukkit.entity.Player player)
player
- The player that should view the inventory.open(Player, ItemStack)
public static void open(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack infoItemStack)
player
- The player that should view the inventory.infoItemStack
- An optional item stack, that can old additional information about the event.WauzPlayerDataSectionSelections.getWauzPlayerEventName()
,
MenuUtils.setBorders(Inventory)
public void selectMenuPoint(org.bukkit.event.inventory.InventoryClickEvent event)
selectMenuPoint
in interface WauzInventory
event
- The inventory click event.WauzPlayerDataSectionSelections.getWauzPlayerEvent()
,
WauzPlayerEvent.execute(Player)