public final class EntityInventoryChangeEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityInventoryChangeEvent(Entity entity,
ItemStack oldItem,
ItemStack newItem,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getNewItem() |
ItemStack |
getOldItem() |
int |
getSlot() |
void |
setNewItem(ItemStack newItem) |
getEntityisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledCopyright © 2021. All rights reserved.