public class ItemEvent extends EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
EntityItem |
entityItem
The relevant EntityItem for this event, already cast for you.
|
entity
Constructor and Description |
---|
ItemEvent(EntityItem itemEntity)
Creates a new event for an EntityItem.
|
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public final EntityItem entityItem
public ItemEvent(EntityItem itemEntity)
itemEntity
- The EntityItem for this event