public class ItemEvent extends EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
ItemEvent(EntityItem itemEntity)
Creates a new event for an EntityItem. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
EntityItem | 
getEntityItem()
The relevant EntityItem for this event, already cast for you. 
 | 
getEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic ItemEvent(EntityItem itemEntity)
itemEntity - The EntityItem for this eventpublic EntityItem getEntityItem()