Interface Cancellable

All Known Implementing Classes:
AnvilDamageEvent, BatchPacketsEvent, BellRingEvent, BigDripleafTiltChangeEvent, BlockBreakEvent, BlockBurnEvent, BlockExplodeEvent, BlockExplosionPrimeEvent, BlockFadeEvent, BlockFallEvent, BlockFormEvent, BlockFromToEvent, BlockGrowEvent, BlockHarvestEvent, BlockIgniteEvent, BlockPistonEvent, BlockPlaceEvent, BlockSpreadEvent, BlockUpdateEvent, BrewEvent, CampfireSmeltEvent, CauldronFilledByDrippingLiquidEvent, ChunkUnloadEvent, CommandBlockExecuteEvent, ComposterEmptyEvent, ComposterFillEvent, ConsoleCommandOutputEvent, CraftItemEvent, CreatureSpawnEvent, CreeperPowerEvent, DataPacketReceiveEvent, DataPacketSendEvent, DoorToggleEvent, EnchantItemEvent, EntityArmorChangeEvent, EntityBlockChangeEvent, EntityCombustByBlockEvent, EntityCombustByEntityEvent, EntityCombustEvent, EntityDamageBlockedEvent, EntityDamageByBlockEvent, EntityDamageByChildEntityEvent, EntityDamageByEntityEvent, EntityDamageEvent, EntityDespawnEvent, EntityEffectRemoveEvent, EntityEffectUpdateEvent, EntityEnterVehicleEvent, EntityExitVehicleEvent, EntityExplodeEvent, EntityExplosionPrimeEvent, EntityFallEvent, EntityFreezeEvent, EntityInteractEvent, EntityInventoryChangeEvent, EntityLevelChangeEvent, EntityMotionEvent, EntityMoveByPistonEvent, EntityPortalEnterEvent, EntityRegainHealthEvent, EntityShootBowEvent, EntityShootCrossbowEvent, EntitySpawnEvent, EntityTeleportEvent, EntityVehicleEnterEvent, EntityVehicleExitEvent, ExplosionPrimeEvent, FarmLandDecayEvent, FurnaceBurnEvent, FurnaceSmeltEvent, GrindstoneEvent, HopperSearchItemEvent, InventoryClickEvent, InventoryMoveItemEvent, InventoryOpenEvent, InventoryPickupArrowEvent, InventoryPickupItemEvent, InventoryPickupTridentEvent, InventoryTransactionEvent, ItemDespawnEvent, ItemFrameDropItemEvent, ItemFrameUseEvent, ItemSpawnEvent, LeavesDecayEvent, LecternDropBookEvent, LecternPageChangeEvent, LecternPlaceBookEvent, LevelUnloadEvent, LightningStrikeEvent, LiquidFlowEvent, PlayerAchievementAwardedEvent, PlayerAnimationEvent, PlayerBedEnterEvent, PlayerBlockPickEvent, PlayerBucketEmptyEvent, PlayerBucketFillEvent, PlayerChangeArmorStandEvent, PlayerChangeSkinEvent, PlayerChatEvent, PlayerChunkRequestEvent, PlayerCommandPreprocessEvent, PlayerDeathEvent, PlayerDropItemEvent, PlayerEatFoodEvent, PlayerEditBookEvent, PlayerExperienceChangeEvent, PlayerFishEvent, PlayerFoodLevelChangeEvent, PlayerGameModeChangeEvent, PlayerGlassBottleFillEvent, PlayerInteractEntityEvent, PlayerInteractEvent, PlayerInvalidMoveEvent, PlayerItemConsumeEvent, PlayerItemHeldEvent, PlayerKickEvent, PlayerLoginEvent, PlayerMapInfoRequestEvent, PlayerMoveEvent, PlayerPreLoginEvent, PlayerServerSettingsRequestEvent, PlayerSettingsRespondedEvent, PlayerShowCreditsEvent, PlayerTeleportEvent, PlayerToggleFlightEvent, PlayerToggleGlideEvent, PlayerToggleSneakEvent, PlayerToggleSpinAttackEvent, PlayerToggleSprintEvent, PlayerToggleSwimEvent, PotionApplyEvent, PotionCollideEvent, ProjectileHitEvent, ProjectileLaunchEvent, RedstoneUpdateEvent, RemoteServerCommandEvent, RepairItemEvent, ScoreboardEvent, ScoreboardLineChangeEvent, ScoreboardObjectiveChangeEvent, ServerCommandEvent, SignChangeEvent, SignColorChangeEvent, SignGlowEvent, SmithingTableEvent, StartBrewEvent, StructureGrowEvent, ThunderChangeEvent, TurtleEggHatchEvent, VehicleCreateEvent, VehicleDamageByEntityEvent, VehicleDamageEvent, VehicleDestroyByEntityEvent, VehicleDestroyEvent, VibrationArriveEvent, VibrationEvent, VibrationOccurEvent, WaterFrostEvent, WeatherChangeEvent

public interface Cancellable
Author:
Nukkit Team.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
    void
    setCancelled(boolean forceCancel)
     
  • Method Details

    • isCancelled

      boolean isCancelled()
    • setCancelled

      void setCancelled()
    • setCancelled

      void setCancelled(boolean forceCancel)