public class EntityInventoryChangeEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityInventoryChangeEvent(Entity entity,
Item oldItem,
Item newItem,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlers() |
Item |
getNewItem() |
Item |
getOldItem() |
int |
getSlot() |
void |
setNewItem(Item newItem) |
getEntitygetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic static HandlerList getHandlers()
public int getSlot()
public Item getNewItem()
public void setNewItem(Item newItem)
public Item getOldItem()
Copyright © 2020. All rights reserved.