public class PlayerEvent extends LivingEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerEvent.BreakSpeed |
static class |
PlayerEvent.Clone
Fired when the EntityPlayer is cloned, typically caused by the network sending a RESPAWN_PLAYER event.
|
static class |
PlayerEvent.HarvestCheck |
static class |
PlayerEvent.LoadFromFile
The player is being loaded from the world save.
|
static class |
PlayerEvent.NameFormat |
static class |
PlayerEvent.SaveToFile
The player is being saved to the world store.
|
static class |
PlayerEvent.StartTracking
Fired when an Entity is started to be "tracked" by this player (the player receives updates about this entity, e.g.
|
static class |
PlayerEvent.StopTracking
Fired when an Entity is stopped to be "tracked" by this player (the player no longer receives updates about this entity, e.g.
|
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
EntityPlayer |
entityPlayer |
entityLivingentity| Constructor and Description |
|---|
PlayerEvent(EntityPlayer player) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic final EntityPlayer entityPlayer
public PlayerEvent(EntityPlayer player)