Package net.minestom.server.event.trait
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
,PlayerCancelDiggingEvent
,PlayerChangeHeldSlotEvent
,PlayerChatEvent
,PlayerChunkLoadEvent
,PlayerChunkUnloadEvent
,PlayerCommandEvent
,PlayerDeathEvent
,PlayerDisconnectEvent
,PlayerEatEvent
,PlayerEntityInteractEvent
,PlayerFinishDiggingEvent
,PlayerGameModeChangeEvent
,PlayerHandAnimationEvent
,PlayerInventoryItemChangeEvent
,PlayerItemAnimationEvent
,PlayerMoveEvent
,PlayerPacketEvent
,PlayerPluginMessageEvent
,PlayerPreEatEvent
,PlayerSpawnEvent
,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.
-
Method Summary
Methods inherited from interface net.minestom.server.event.trait.EntityInstanceEvent
getInstance
Methods inherited from interface net.minestom.server.event.trait.PlayerEvent
getEntity, getPlayer