AsyncPlayerChatEvent
, BlockBreakEvent
, BlockBurnEvent
, BlockDamageEvent
, BlockDispenseEvent
, BlockExplodeEvent
, BlockFadeEvent
, BlockFertilizeEvent
, BlockFormEvent
, BlockFromToEvent
, BlockGrowEvent
, BlockIgniteEvent
, BlockMultiPlaceEvent
, BlockPhysicsEvent
, BlockPistonEvent
, BlockPistonExtendEvent
, BlockPistonRetractEvent
, BlockPlaceEvent
, BlockSpreadEvent
, BrewEvent
, BrewingStandFuelEvent
, BroadcastMessageEvent
, CauldronLevelChangeEvent
, ChunkUnloadEvent
, CraftItemEvent
, CreatureSpawnEvent
, CreeperPowerEvent
, EnchantItemEvent
, EnderDragonChangePhaseEvent
, EntityAirChangeEvent
, EntityBlockFormEvent
, EntityBreakDoorEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustByBlockEvent
, EntityCombustByEntityEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageByBlockEvent
, EntityDamageByEntityEvent
, EntityDamageEvent
, EntityDismountEvent
, EntityDropItemEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityMountEvent
, EntityPickupItemEvent
, EntityPortalEvent
, EntityPortalExitEvent
, EntityPotionEffectEvent
, EntityRegainHealthEvent
, EntityResurrectEvent
, EntityShootBowEvent
, EntitySpawnEvent
, EntityTameEvent
, EntityTargetEvent
, EntityTargetLivingEntityEvent
, EntityTeleportEvent
, EntityToggleGlideEvent
, EntityToggleSwimEvent
, ExplosionPrimeEvent
, FireworkExplodeEvent
, FoodLevelChangeEvent
, FurnaceBurnEvent
, FurnaceSmeltEvent
, HangingBreakByEntityEvent
, HangingBreakEvent
, HangingPlaceEvent
, HorseJumpEvent
, InventoryClickEvent
, InventoryCreativeEvent
, InventoryDragEvent
, InventoryInteractEvent
, InventoryMoveItemEvent
, InventoryOpenEvent
, InventoryPickupItemEvent
, ItemDespawnEvent
, ItemMergeEvent
, ItemSpawnEvent
, LeavesDecayEvent
, LightningStrikeEvent
, LingeringPotionSplashEvent
, NotePlayEvent
, PigZapEvent
, PigZombieAngerEvent
, PlayerAchievementAwardedEvent
, PlayerAnimationEvent
, PlayerArmorStandManipulateEvent
, PlayerBedEnterEvent
, PlayerBucketEmptyEvent
, PlayerBucketEvent
, PlayerBucketFillEvent
, PlayerChatEvent
, PlayerCommandPreprocessEvent
, PlayerDropItemEvent
, PlayerEditBookEvent
, PlayerFishEvent
, PlayerGameModeChangeEvent
, PlayerInteractAtEntityEvent
, PlayerInteractEntityEvent
, PlayerInteractEvent
, PlayerItemConsumeEvent
, PlayerItemDamageEvent
, PlayerItemHeldEvent
, PlayerItemMendEvent
, PlayerKickEvent
, PlayerLeashEntityEvent
, PlayerMoveEvent
, PlayerPickupArrowEvent
, PlayerPickupItemEvent
, PlayerPortalEvent
, PlayerShearEntityEvent
, PlayerStatisticIncrementEvent
, PlayerSwapHandItemsEvent
, PlayerTeleportEvent
, PlayerToggleFlightEvent
, PlayerToggleSneakEvent
, PlayerToggleSprintEvent
, PlayerUnleashEntityEvent
, PlayerVelocityEvent
, PortalCreateEvent
, PotionSplashEvent
, PrepareItemEnchantEvent
, ProjectileLaunchEvent
, RemoteServerCommandEvent
, ServerCommandEvent
, SheepDyeWoolEvent
, SheepRegrowWoolEvent
, SignChangeEvent
, SlimeSplitEvent
, SpawnerSpawnEvent
, SpongeAbsorbEvent
, StructureGrowEvent
, TabCompleteEvent
, ThunderChangeEvent
, VehicleCreateEvent
, VehicleDamageEvent
, VehicleDestroyEvent
, VehicleEnterEvent
, VehicleEntityCollisionEvent
, VehicleExitEvent
, VillagerAcquireTradeEvent
, VillagerReplenishTradeEvent
, WeatherChangeEvent
, WorldUnloadEvent
public interface Cancellable
Modifier and Type | Method | Description |
---|---|---|
boolean |
isCancelled() |
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel) |
Sets the cancellation state of this event.
|
boolean isCancelled()
void setCancelled(boolean cancel)
cancel
- true if you wish to cancel this eventCopyright © 2018. All rights reserved.