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
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
original |
private boolean |
wasDeath |
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
private final EntityPlayer original
private final boolean wasDeath
public Clone(EntityPlayer _new, EntityPlayer oldPlayer, boolean wasDeath)
public EntityPlayer getOriginal()
public boolean isWasDeath()