JavaScript is disabled on your browser.
Field Summary
Fields
final org.bukkit.inventory.Inventory
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
void
void
void
void
dispatchClick (org.bukkit.event.inventory.InventoryClickEvent event)
void
void
org.bukkit.inventory.ItemStack[]
void
open (org.bukkit.entity.HumanEntity entity)
void
void
void
setItem (int index,
org.bukkit.inventory.ItemStack itemStack)
void
setItem (int index,
org.bukkit.inventory.ItemStack itemStack,
Consumer <org.bukkit.event.inventory.InventoryClickEvent> onClick)
void
setItem (int index,
org.bukkit.inventory.ItemStack itemStack,
Function <org.bukkit.event.inventory.InventoryClickEvent,Boolean > onClick)
static Consumer <org.bukkit.event.inventory.InventoryClickEvent>
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
inventory
public final org.bukkit.inventory.Inventory inventory
Method Details
soundWrapper
public static Consumer <org.bukkit.event.inventory.InventoryClickEvent> soundWrapper (Function <org.bukkit.event.inventory.InventoryClickEvent,Boolean > func)
setItem
public void setItem (int index,
org.bukkit.inventory.ItemStack itemStack)
Specified by:
setItem
in interface ISpigotMenu
setItem
public void setItem (int index,
org.bukkit.inventory.ItemStack itemStack,
Consumer <org.bukkit.event.inventory.InventoryClickEvent> onClick)
Specified by:
setItem
in interface ISpigotMenu
setItem
public void setItem (int index,
org.bukkit.inventory.ItemStack itemStack,
Function <org.bukkit.event.inventory.InventoryClickEvent,Boolean > onClick)
Specified by:
setItem
in interface ISpigotMenu
items
public org.bukkit.inventory.ItemStack[] items ()
Specified by:
items
in interface ISpigotMenu
open
public void open (org.bukkit.entity.HumanEntity entity)
Specified by:
open
in interface ISpigotMenu
dispatchClick
public void dispatchClick (org.bukkit.event.inventory.InventoryClickEvent event)
dispatchClose
public void dispatchClose (org.bukkit.entity.HumanEntity entity)
dispatchOpen
public void dispatchOpen (org.bukkit.entity.HumanEntity entity)