Interface InstanceEvent

All Superinterfaces:
Event
All Known Subinterfaces:
EntityInstanceEvent, PlayerInstanceEvent
All Known Implementing Classes:
AddEntityToInstanceEvent, AdvancementTabEvent, EditBookEvent, EntityAttackEvent, EntityDamageEvent, EntityDeathEvent, EntityEquipEvent, EntityFireEvent, EntityItemMergeEvent, EntityPotionAddEvent, EntityPotionRemoveEvent, EntityShootEvent, EntitySpawnEvent, EntityTickEvent, EntityVelocityEvent, InstanceChunkLoadEvent, InstanceChunkUnloadEvent, InstanceTickEvent, InventoryClickEvent, InventoryCloseEvent, InventoryOpenEvent, InventoryPreClickEvent, ItemDropEvent, ItemUpdateStateEvent, PickupExperienceEvent, PickupItemEvent, 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, ProjectileCollideWithBlockEvent, ProjectileCollideWithEntityEvent, ProjectileUncollideEvent, RemoveEntityFromInstanceEvent

public interface InstanceEvent extends Event
Represents any event targeting an Instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Instance
    Gets the instance.
  • Method Details

    • getInstance

      @NotNull @NotNull Instance getInstance()
      Gets the instance.
      Returns:
      instance