public class ItemEvent extends EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private ItemEntity |
entityItem |
Constructor and Description |
---|
ItemEvent(ItemEntity itemEntity)
Creates a new event for an EntityItem.
|
Modifier and Type | Method and Description |
---|---|
ItemEntity |
getEntityItem()
The relevant EntityItem for this event, already cast for you.
|
getEntity
private final ItemEntity entityItem
public ItemEvent(ItemEntity itemEntity)
itemEntity
- The EntityItem for this eventpublic ItemEntity getEntityItem()