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