public class ItemTossEvent extends ItemEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
| ItemTossEvent(EntityItem entityItem,
             EntityPlayer player)Creates a new event for EntityItems tossed by a player. | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityPlayer | getPlayer()The player tossing the item. | 
getEntityItemgetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic ItemTossEvent(EntityItem entityItem, EntityPlayer player)
entityItem - The EntityItem being tossed.player - The player tossing the item.public EntityPlayer getPlayer()