public class LivingDropsEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
ArrayList<EntityItem> |
drops |
int |
lootingLevel |
boolean |
recentlyHit |
DamageSource |
source |
int |
specialDropValue |
entityLivingentity| Constructor and Description |
|---|
LivingDropsEvent(EntityLiving entity,
DamageSource source,
ArrayList<EntityItem> drops,
int lootingLevel,
boolean recentlyHit,
int specialDropValue) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResultpublic final DamageSource source
public final ArrayList<EntityItem> drops
public final int lootingLevel
public final boolean recentlyHit
public final int specialDropValue
public LivingDropsEvent(EntityLiving entity, DamageSource source, ArrayList<EntityItem> drops, int lootingLevel, boolean recentlyHit, int specialDropValue)