public class PlayerDropsEvent extends LivingDropsEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
| PlayerDropsEvent(EntityPlayer entity,
                DamageSource source,
                java.util.List<EntityItem> drops,
                boolean recentlyHit)Creates a new event containing all the items that will drop into the
 world when a player dies. | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityPlayer | getEntityPlayer() | 
getDrops, getLootingLevel, getSource, isRecentlyHitgetEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PlayerDropsEvent(EntityPlayer entity, DamageSource source, java.util.List<EntityItem> drops, boolean recentlyHit)
entity - The dying player.source - The source of the damage which is killing the player.drops - List of all drops entering the world.public EntityPlayer getEntityPlayer()