Package net.minestom.server.event.trait
Interface EntityEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
EntityInstanceEvent
,PlayerEvent
,PlayerInstanceEvent
- All Known Implementing Classes:
AddEntityToInstanceEvent
,AdvancementTabEvent
,AsyncPlayerConfigurationEvent
,AsyncPlayerPreLoginEvent
,EditBookEvent
,EntityAttackEvent
,EntityDamageEvent
,EntityDeathEvent
,EntityDespawnEvent
,EntityEquipEvent
,EntityFireExtinguishEvent
,EntityItemMergeEvent
,EntityPotionAddEvent
,EntityPotionRemoveEvent
,EntitySetFireEvent
,EntityShootEvent
,EntitySpawnEvent
,EntityTeleportEvent
,EntityTickEvent
,EntityVelocityEvent
,InventoryClickEvent
,InventoryCloseEvent
,InventoryOpenEvent
,InventoryPreClickEvent
,ItemDropEvent
,ItemUpdateStateEvent
,ItemUsageCompleteEvent
,PickupExperienceEvent
,PickupItemEvent
,PlayerAnvilInputEvent
,PlayerBlockBreakEvent
,PlayerBlockInteractEvent
,PlayerBlockPlaceEvent
,PlayerCancelDiggingEvent
,PlayerChangeHeldSlotEvent
,PlayerChatEvent
,PlayerChunkLoadEvent
,PlayerChunkUnloadEvent
,PlayerCommandEvent
,PlayerDeathEvent
,PlayerDisconnectEvent
,PlayerEatEvent
,PlayerEntityInteractEvent
,PlayerFinishDiggingEvent
,PlayerGameModeChangeEvent
,PlayerHandAnimationEvent
,PlayerInventoryItemChangeEvent
,PlayerItemAnimationEvent
,PlayerMoveEvent
,PlayerPacketEvent
,PlayerPacketOutEvent
,PlayerPluginMessageEvent
,PlayerPreEatEvent
,PlayerResourcePackStatusEvent
,PlayerRespawnEvent
,PlayerSettingsChangeEvent
,PlayerSkinInitEvent
,PlayerSpawnEvent
,PlayerSpectateEvent
,PlayerStartDiggingEvent
,PlayerStartFlyingEvent
,PlayerStartFlyingWithElytraEvent
,PlayerStartSneakingEvent
,PlayerStartSprintingEvent
,PlayerStopFlyingEvent
,PlayerStopFlyingWithElytraEvent
,PlayerStopSneakingEvent
,PlayerStopSprintingEvent
,PlayerSwapItemEvent
,PlayerTickEvent
,PlayerUseItemEvent
,PlayerUseItemOnBlockEvent
,ProjectileCollideWithBlockEvent
,ProjectileCollideWithEntityEvent
,ProjectileUncollideEvent
,RemoveEntityFromInstanceEvent
Represents any event called on an
Entity
.-
Method Summary
-
Method Details
-
getEntity
Gets the entity of this event.- Returns:
- the entity
-