InventoryClickEvent
or InventoryOpenEvent
instead, or one of the other inventory events in org.bukkit.event.inventory
.@Deprecated public class PlayerInventoryEvent extends PlayerEvent
Event.Result
Modifier and Type | Field and Description |
---|---|
protected Inventory |
inventory
Deprecated.
|
player
Constructor and Description |
---|
PlayerInventoryEvent(Player player,
Inventory inventory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList()
Deprecated.
|
HandlerList |
getHandlers()
Deprecated.
|
Inventory |
getInventory()
Deprecated.
Gets the Inventory involved in this event
|
getPlayer
getEventName, isAsynchronous
protected Inventory inventory
public Inventory getInventory()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.