Interface EventAwaiter
- All Known Implementing Classes:
EntityBatToggledSleepModeExecutor,EntityBornExecutor,EntityCombustedByBlockExecutor,EntityCombustedByEntityExecutor,EntityCreeperIgnitedExecutor,EntityCreeperPoweredExecutor,EntityDamagedItemExecutor,EntityDiedExecutor,EntityDismountedExecutor,EntityDroppedItemExecutor,EntityEndermanEscapedExecutor,EntityEnteredBlockExecutor,EntityEnteredLoveModeExecutor,EntityEnteredVehicleExecutor,EntityExecutor,EntityExplodedExecutor,EntityFireworkExplodedExecutor,EntityGetDamagedExecutor,EntityHangingBreakExecutor,EntityHorseJumpedExecutor,EntityInteractedBlockExecutor,EntityItemDespawnedExecutor,EntityItemMergedExecutor,EntityJumpedExecutor,EntityLoadedCrossbowExecutor,EntityMountedExecutor,EntityPickedUpItemExecutor,EntityPiglinBarteredExecutor,EntityPigZombieAngeredExecutor,EntityPotionEffectedExecutor,EntityProjectileHitExecutor,EntityPufferfishStateChangedExecutor,EntityRegainedHealthExecutor,EntityRemovedExecutor,EntityResurrectedExecutor,EntitySheepRegrownWoolExecutor,EntityShotBowExecutor,EntityShulkerDuplicatedExecutor,EntitySlimeSplitExecutor,EntitySpawnedExecutor,EntityTurtleGoesHomeExecutor,EntityTurtleLaysEggExecutor,EntityVehicleExitExecutor,EntityWardenAngerChangedExecutor,EntityWitchConsumedPotionExecutor,EntityWitchReadyPotionExecutor,EntityWitchThrownPotionExecutor,MobDamagePlayerExecutor,PlayerAdvertisedExecutor,PlayerAirChangedExecutor,PlayerBedEnterExecutor,PlayerBedLeaveExecutor,PlayerBlockInteractExecutor,PlayerBucketEmptyExecutor,PlayerBucketEntityExecutor,PlayerBucketFillExecutor,PlayerChangedArmorExecutor,PlayerChangedSignExecutor,PlayerChangeSlotExecutor,PlayerChatExecutor,PlayerChunkLoadExecutor,PlayerChunkUnloadExecutor,PlayerClickInventoryExecutor,PlayerCloseInventoryExecutor,PlayerDamageMobExecutor,PlayerDamagePlayerExecutor,PlayerDeathExecutor,PlayerDestroyBlockExecutor,PlayerDestroyingBlockExecutor,PlayerDragItemExecutor,PlayerDropItemExecutor,PlayerEnteredVehicleExecutor,PlayerExecutor,PlayerFishingExecutor,PlayerFlyingExecutor,PlayerGetDamagedExecutor,PlayerHungerChangeExecutor,PlayerInteractExecutor,PlayerItemBreakExecutor,PlayerItemConsumeExecutor,PlayerItemCraftExecutor,PlayerItemDamageExecutor,PlayerJoinExecutor,PlayerJumpExecutor,PlayerKilledMobExecutor,PlayerKilledPlayerExecutor,PlayerLeftClickExecutor,PlayerLikedExecutor,PlayerMobInteractExecutor,PlayerOpenInventoryExecutor,PlayerPickupItemExecutor,PlayerPlaceBlockExecutor,PlayerPlayExecutor,PlayerPurchaseExecutor,PlayerQuitExecutor,PlayerRespawnExecutor,PlayerRightClickExecutor,PlayerRunningExecutor,PlayerSneakingExecutor,PlayerSpectatingExecutor,PlayerStopFlyingExecutor,PlayerStopRunningExecutor,PlayerStopSneakingExecutor,PlayerStopSpectatingExecutor,PlayerSwapHandExecutor,PlayerTeleportExecutor,PlayerTotemRespawnExecutor,PlayerVehicleExitExecutor,PlayerWalkExecutor,PlayerWriteBookExecutor,WorldBlockAnvilDamagedExecutor,WorldBlockBeaconActivatedExecutor,WorldBlockBeaconDeactivatedExecutor,WorldBlockBellRungExecutor,WorldBlockBrewingEndExecutor,WorldBlockBrewingStartExecutor,WorldBlockBurnedExecutor,WorldBlockCampfireStartExecutor,WorldBlockCauldronChangeExecutor,WorldBlockCookedExecutor,WorldBlockDispensedExecutor,WorldBlockExperienceDropExecutor,WorldBlockExplodedExecutor,WorldBlockFadedExecutor,WorldBlockFluidChangedExecutor,WorldBlockFormedExecutor,WorldBlockFurnaceBurnedExecutor,WorldBlockGrownExecutor,WorldBlockIgnitedExecutor,WorldBlockLeavesDecayedExecutor,WorldBlockNotePlayedExecutor,WorldBlockPhysicsExecutor,WorldBlockPistonExtendedExecutor,WorldBlockPistonRetractedExecutor,WorldBlockRedstoneExecutor,WorldBlockSculkBloomedExecutor,WorldBlockTargetHitExecutor,WorldBlockTntPrimeExecutor,WorldBrewingFuelExecutor,WorldCrafterCraftedExecutor,WorldExecutor,WorldLightningStrikeExecutor,WorldPlayModeExecutor,WorldPortalCreatedExecutor,WorldReachedBlocksLimitExecutor,WorldReachedEntitiesLimitExecutor,WorldReachedRedstoneLimitExecutor,WorldReachedVariablesLimitExecutor,WorldSpongeAbsorbedExecutor,WorldVariableTransferExecutor,WorldWebResponseExecutor
public interface EventAwaiter
EventAwaiter
This interface is used for executors, that can be launched when some world event happens.-
Method Summary
Modifier and TypeMethodDescription@NotNull Class<? extends WorldEvent> Returns event class, that can run executor on calling that event.default booleanChecks whether event can be canceled.
-
Method Details
-
getEventClass
Returns event class, that can run executor on calling that event.- Returns:
- event class, that will call executor.
-
isCancellable
default boolean isCancellable()Checks whether event can be canceled.- Returns:
- true - can be canceled, false - not.
-