public static class PlayerEvent.Clone 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
Constructor and Description |
---|
Clone(EntityPlayer _new,
EntityPlayer oldPlayer,
boolean wasDeath) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getOriginal()
The old EntityPlayer that this new entity is a clone of.
|
boolean |
isWasDeath()
True if this event was fired because the player died.
|
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public Clone(EntityPlayer _new, EntityPlayer oldPlayer, boolean wasDeath)
public EntityPlayer getOriginal()
public boolean isWasDeath()