public class LivingExperienceDropEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
entityLiving
entity
Constructor and Description |
---|
LivingExperienceDropEvent(EntityLivingBase entity,
EntityPlayer attackingPlayer,
int originalExperience) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getAttackingPlayer() |
int |
getDroppedExperience() |
int |
getOriginalExperience() |
void |
setDroppedExperience(int droppedExperience) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public LivingExperienceDropEvent(EntityLivingBase entity, EntityPlayer attackingPlayer, int originalExperience)
public int getDroppedExperience()
public void setDroppedExperience(int droppedExperience)
public EntityPlayer getAttackingPlayer()
public int getOriginalExperience()