Package net.minestom.server.event.trait
Interface InstanceEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
EntityInstanceEvent
,PlayerInstanceEvent
- All Known Implementing Classes:
AddEntityToInstanceEvent
,AdvancementTabEvent
,EditBookEvent
,EntityAttackEvent
,EntityDamageEvent
,EntityDeathEvent
,EntityDespawnEvent
,EntityEquipEvent
,EntityFireEvent
,EntityItemMergeEvent
,EntityPotionAddEvent
,EntityPotionRemoveEvent
,EntityShootEvent
,EntitySpawnEvent
,EntityTickEvent
,EntityVelocityEvent
,InstanceChunkLoadEvent
,InstanceChunkUnloadEvent
,InstanceRegisterEvent
,InstanceTickEvent
,InstanceUnregisterEvent
,InstanceWorldPositionChangeEvent
,InventoryClickEvent
,InventoryCloseEvent
,InventoryOpenEvent
,InventoryPreClickEvent
,ItemDropEvent
,ItemUpdateStateEvent
,PickupExperienceEvent
,PickupItemEvent
,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
,ProjectileCollideWithBlockEvent
,ProjectileCollideWithEntityEvent
,ProjectileUncollideEvent
,RemoveEntityFromInstanceEvent
Represents any event targeting an
Instance
.-
Method Summary
-
Method Details
-
getInstance
Gets the instance.- Returns:
- instance
-