Interface PlayerInstanceEvent

All Superinterfaces:
EntityEvent, EntityInstanceEvent, Event, InstanceEvent, PlayerEvent
All Known Implementing Classes:
AdvancementTabEvent, EditBookEvent, InventoryClickEvent, InventoryCloseEvent, InventoryOpenEvent, InventoryPreClickEvent, ItemDropEvent, ItemUpdateStateEvent, PickupExperienceEvent, PlayerBlockBreakEvent, PlayerBlockInteractEvent, PlayerBlockPlaceEvent, PlayerChangeHeldSlotEvent, PlayerChatEvent, PlayerChunkLoadEvent, PlayerChunkUnloadEvent, PlayerCommandEvent, PlayerDeathEvent, PlayerDisconnectEvent, PlayerEatEvent, PlayerEntityInteractEvent, PlayerHandAnimationEvent, PlayerInventoryItemChangeEvent, PlayerItemAnimationEvent, PlayerMoveEvent, PlayerPacketEvent, PlayerPluginMessageEvent, PlayerPreEatEvent, PlayerStartDiggingEvent, PlayerStartFlyingEvent, PlayerStartFlyingWithElytraEvent, PlayerStartSneakingEvent, PlayerStartSprintingEvent, PlayerStopFlyingEvent, PlayerStopFlyingWithElytraEvent, PlayerStopSneakingEvent, PlayerStopSprintingEvent, PlayerSwapItemEvent, PlayerTickEvent, PlayerUseItemEvent, PlayerUseItemOnBlockEvent

@Internal @Experimental public interface PlayerInstanceEvent extends PlayerEvent, EntityInstanceEvent
Represents an PlayerEvent which happen in Entity.getInstance(). Useful if you need to listen to player events happening in its instance.

Be aware that the player's instance must be non-null.