Class and Description |
---|
PlayerEvent
PlayerEvent is fired whenever an event involving Living entities occurs.
|
Class and Description |
---|
CriticalHitEvent
This event is fired whenever a player attacks an Entity in
EntityPlayer#attackTargetEntityWithCurrentItem(Entity).
This event is not Cancelable .This event has a result. |
PlayerEvent.PlayerChangedDimensionEvent |
PlayerEvent.PlayerLoggedInEvent |
PlayerInteractEvent.LeftClickBlock
This event is fired when a player left clicks while targeting a block.
|
PlayerInteractEvent.RightClickBlock
This event is fired on both sides whenever the player right clicks while targeting a block.
|
Class and Description |
---|
PlayerEvent.NameFormat
NameFormat is fired when a player's display name is retrieved.
This event is fired whenever a player's name is retrieved in PlayerEntity.getDisplayName() for the first time or if PlayerEntity.refreshDisplayName() is called.This event is fired via ForgeEventFactory.getPlayerDisplayName(PlayerEntity, String) or ForgeEventFactory.getPlayerDisplayName(PlayerEntity, ITextComponent) .PlayerEvent.NameFormat.username contains the username of the player. |
PlayerXpEvent
PlayerXpEvent is fired whenever an event involving player experience occurs.
|
PlayerXpEvent.LevelChange
This event is fired when the player's experience level changes through the
PlayerEntity.addExperienceLevel(int) method. |
PlayerXpEvent.PickupXp
This event is fired after the player collides with an experience orb, but before the player has been given the experience.
|
PlayerXpEvent.XpChange
This event is fired when the player's experience changes through the
PlayerEntity.giveExperiencePoints(int) method. |
Class and Description |
---|
PlayerInteractEvent.RightClickBlock
This event is fired on both sides whenever the player right clicks while targeting a block.
|
Class and Description |
---|
ItemTooltipEvent |
Class and Description |
---|
PlayerEvent
PlayerEvent is fired whenever an event involving Living entities occurs.
|
Class and Description |
---|
PlayerContainerEvent |
PlayerEvent
PlayerEvent is fired whenever an event involving Living entities occurs.
|
PlayerInteractEvent
PlayerInteractEvent is fired when a player interacts in some way.
|
PlayerXpEvent
PlayerXpEvent is fired whenever an event involving player experience occurs.
|