public class PlayerPickupXpEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private EntityXPOrb |
orb |
Constructor and Description |
---|
PlayerPickupXpEvent(EntityPlayer player,
EntityXPOrb orb) |
Modifier and Type | Method and Description |
---|---|
EntityXPOrb |
getOrb() |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final EntityXPOrb orb
public PlayerPickupXpEvent(EntityPlayer player, EntityXPOrb orb)
public EntityXPOrb getOrb()