public class InventoryEvent extends Event
Event.Result
Modifier and Type | Field and Description |
---|---|
protected InventoryView |
transaction |
Constructor and Description |
---|
InventoryEvent(InventoryView transaction) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Inventory |
getInventory()
Gets the primary Inventory involved in this transaction
|
InventoryView |
getView()
Gets the view object itself
|
List<HumanEntity> |
getViewers()
Gets the list of players viewing the primary (upper) inventory involved
in this event
|
getEventName, isAsynchronous
protected InventoryView transaction
public InventoryEvent(InventoryView transaction)
public Inventory getInventory()
public List<HumanEntity> getViewers()
public InventoryView getView()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.