Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.Cancellable Interface Reference
Inheritance diagram for org.bukkit.event.Cancellable:
org.bukkit.event.block.BlockBreakEvent org.bukkit.event.block.BlockBurnEvent org.bukkit.event.block.BlockDamageEvent org.bukkit.event.block.BlockDispenseEvent org.bukkit.event.block.BlockFadeEvent org.bukkit.event.block.BlockFormEvent org.bukkit.event.block.BlockFromToEvent org.bukkit.event.block.BlockGrowEvent org.bukkit.event.block.BlockIgniteEvent org.bukkit.event.block.BlockPhysicsEvent org.bukkit.event.block.BlockPistonEvent org.bukkit.event.block.BlockPlaceEvent org.bukkit.event.block.LeavesDecayEvent org.bukkit.event.block.NotePlayEvent org.bukkit.event.block.SignChangeEvent org.bukkit.event.enchantment.EnchantItemEvent org.bukkit.event.enchantment.PrepareItemEnchantEvent org.bukkit.event.entity.CreatureSpawnEvent org.bukkit.event.entity.CreeperPowerEvent org.bukkit.event.entity.EntityChangeBlockEvent org.bukkit.event.entity.EntityCombustEvent org.bukkit.event.entity.EntityCreatePortalEvent org.bukkit.event.entity.EntityDamageEvent org.bukkit.event.entity.EntityExplodeEvent org.bukkit.event.entity.EntityInteractEvent org.bukkit.event.entity.EntityRegainHealthEvent org.bukkit.event.entity.EntityShootBowEvent org.bukkit.event.entity.EntityTameEvent org.bukkit.event.entity.EntityTargetEvent org.bukkit.event.entity.EntityTeleportEvent org.bukkit.event.entity.ExplosionPrimeEvent org.bukkit.event.entity.FoodLevelChangeEvent org.bukkit.event.entity.HorseJumpEvent org.bukkit.event.entity.ItemDespawnEvent org.bukkit.event.entity.ItemSpawnEvent org.bukkit.event.entity.PigZapEvent org.bukkit.event.entity.PlayerLeashEntityEvent org.bukkit.event.entity.PotionSplashEvent org.bukkit.event.entity.ProjectileLaunchEvent org.bukkit.event.entity.SheepDyeWoolEvent org.bukkit.event.entity.SheepRegrowWoolEvent org.bukkit.event.entity.SlimeSplitEvent org.bukkit.event.hanging.HangingBreakEvent org.bukkit.event.hanging.HangingPlaceEvent org.bukkit.event.inventory.BrewEvent org.bukkit.event.inventory.FurnaceBurnEvent org.bukkit.event.inventory.FurnaceSmeltEvent org.bukkit.event.inventory.InventoryInteractEvent org.bukkit.event.inventory.InventoryMoveItemEvent org.bukkit.event.inventory.InventoryOpenEvent org.bukkit.event.inventory.InventoryPickupItemEvent org.bukkit.event.painting.PaintingBreakEvent org.bukkit.event.painting.PaintingPlaceEvent org.bukkit.event.player.AsyncPlayerChatEvent org.bukkit.event.player.PlayerAchievementAwardedEvent org.bukkit.event.player.PlayerAnimationEvent org.bukkit.event.player.PlayerBedEnterEvent org.bukkit.event.player.PlayerBucketEvent org.bukkit.event.player.PlayerChatEvent org.bukkit.event.player.PlayerCommandPreprocessEvent org.bukkit.event.player.PlayerDropItemEvent org.bukkit.event.player.PlayerEditBookEvent org.bukkit.event.player.PlayerFishEvent org.bukkit.event.player.PlayerGameModeChangeEvent org.bukkit.event.player.PlayerInteractEntityEvent org.bukkit.event.player.PlayerInteractEvent org.bukkit.event.player.PlayerItemConsumeEvent org.bukkit.event.player.PlayerItemHeldEvent org.bukkit.event.player.PlayerKickEvent org.bukkit.event.player.PlayerMoveEvent org.bukkit.event.player.PlayerPickupItemEvent org.bukkit.event.player.PlayerShearEntityEvent org.bukkit.event.player.PlayerStatisticIncrementEvent org.bukkit.event.player.PlayerToggleFlightEvent org.bukkit.event.player.PlayerToggleSneakEvent org.bukkit.event.player.PlayerToggleSprintEvent org.bukkit.event.player.PlayerUnleashEntityEvent org.bukkit.event.player.PlayerVelocityEvent org.bukkit.event.vehicle.VehicleDamageEvent org.bukkit.event.vehicle.VehicleDestroyEvent org.bukkit.event.vehicle.VehicleEnterEvent org.bukkit.event.vehicle.VehicleEntityCollisionEvent org.bukkit.event.vehicle.VehicleExitEvent org.bukkit.event.weather.LightningStrikeEvent org.bukkit.event.weather.ThunderChangeEvent org.bukkit.event.weather.WeatherChangeEvent org.bukkit.event.world.ChunkUnloadEvent org.bukkit.event.world.PortalCreateEvent org.bukkit.event.world.StructureGrowEvent org.bukkit.event.world.WorldUnloadEvent

Public Member Functions

boolean isCancelled ()
 
void setCancelled (boolean cancel)
 

Detailed Description

Definition at line 3 of file Cancellable.java.

Member Function Documentation

boolean org.bukkit.event.Cancellable.isCancelled ( )

Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins

Returns
true if this event is cancelled

Implemented in org.bukkit.event.player.AsyncPlayerChatEvent, org.bukkit.event.player.PlayerEditBookEvent, org.bukkit.event.enchantment.EnchantItemEvent, org.bukkit.event.player.PlayerStatisticIncrementEvent, org.bukkit.event.inventory.InventoryMoveItemEvent, org.bukkit.event.inventory.FurnaceBurnEvent, org.bukkit.event.enchantment.PrepareItemEnchantEvent, org.bukkit.event.world.StructureGrowEvent, org.bukkit.event.entity.PotionSplashEvent, org.bukkit.event.vehicle.VehicleDamageEvent, org.bukkit.event.player.PlayerBucketEvent, org.bukkit.event.block.BlockDispenseEvent, org.bukkit.event.block.SignChangeEvent, org.bukkit.event.entity.EntityShootBowEvent, org.bukkit.event.player.PlayerCommandPreprocessEvent, org.bukkit.event.block.BlockDamageEvent, org.bukkit.event.entity.EntityRegainHealthEvent, org.bukkit.event.inventory.FurnaceSmeltEvent, org.bukkit.event.entity.PlayerLeashEntityEvent, org.bukkit.event.inventory.InventoryInteractEvent, org.bukkit.event.painting.PaintingPlaceEvent, org.bukkit.event.entity.EntityChangeBlockEvent, org.bukkit.event.player.PlayerFishEvent, org.bukkit.event.player.PlayerItemConsumeEvent, org.bukkit.event.block.BlockFromToEvent, org.bukkit.event.hanging.HangingPlaceEvent, org.bukkit.event.entity.FoodLevelChangeEvent, org.bukkit.event.player.PlayerInteractEvent, org.bukkit.event.block.BlockBreakEvent, org.bukkit.event.block.BlockIgniteEvent, org.bukkit.event.block.BlockPhysicsEvent, org.bukkit.event.player.PlayerChatEvent, org.bukkit.event.block.BlockFadeEvent, org.bukkit.event.inventory.InventoryPickupItemEvent, org.bukkit.event.block.BlockGrowEvent, org.bukkit.event.player.PlayerKickEvent, org.bukkit.event.player.PlayerPickupItemEvent, org.bukkit.event.entity.EntityCreatePortalEvent, org.bukkit.event.player.PlayerItemHeldEvent, org.bukkit.event.inventory.InventoryOpenEvent, org.bukkit.event.player.PlayerAnimationEvent, org.bukkit.event.world.PortalCreateEvent, org.bukkit.event.block.BlockPlaceEvent, org.bukkit.event.painting.PaintingBreakEvent, org.bukkit.event.player.PlayerMoveEvent, org.bukkit.event.inventory.BrewEvent, org.bukkit.event.vehicle.VehicleDestroyEvent, org.bukkit.event.entity.CreatureSpawnEvent, org.bukkit.event.player.PlayerAchievementAwardedEvent, org.bukkit.event.player.PlayerDropItemEvent, org.bukkit.event.vehicle.VehicleEnterEvent, org.bukkit.event.vehicle.VehicleExitEvent, org.bukkit.event.entity.CreeperPowerEvent, org.bukkit.event.entity.EntityExplodeEvent, org.bukkit.event.hanging.HangingBreakEvent, org.bukkit.event.player.PlayerToggleFlightEvent, org.bukkit.event.player.PlayerToggleSneakEvent, org.bukkit.event.player.PlayerToggleSprintEvent, org.bukkit.event.player.PlayerUnleashEntityEvent, org.bukkit.event.entity.EntityDamageEvent, org.bukkit.event.entity.ExplosionPrimeEvent, org.bukkit.event.vehicle.VehicleEntityCollisionEvent, org.bukkit.event.block.NotePlayEvent, org.bukkit.event.entity.EntityTameEvent, org.bukkit.event.entity.EntityTeleportEvent, org.bukkit.event.entity.ItemDespawnEvent, org.bukkit.event.entity.PigZapEvent, org.bukkit.event.entity.EntityCombustEvent, org.bukkit.event.block.BlockBurnEvent, org.bukkit.event.entity.EntityTargetEvent, org.bukkit.event.entity.SheepDyeWoolEvent, org.bukkit.event.player.PlayerShearEntityEvent, org.bukkit.event.entity.EntityInteractEvent, org.bukkit.event.entity.ItemSpawnEvent, org.bukkit.event.player.PlayerBedEnterEvent, org.bukkit.event.player.PlayerGameModeChangeEvent, org.bukkit.event.player.PlayerInteractEntityEvent, org.bukkit.event.player.PlayerVelocityEvent, org.bukkit.event.weather.LightningStrikeEvent, org.bukkit.event.block.BlockPistonEvent, org.bukkit.event.block.LeavesDecayEvent, org.bukkit.event.entity.HorseJumpEvent, org.bukkit.event.entity.SlimeSplitEvent, org.bukkit.event.weather.ThunderChangeEvent, org.bukkit.event.weather.WeatherChangeEvent, org.bukkit.event.entity.ProjectileLaunchEvent, org.bukkit.event.entity.SheepRegrowWoolEvent, org.bukkit.event.world.ChunkUnloadEvent, and org.bukkit.event.world.WorldUnloadEvent.

void org.bukkit.event.Cancellable.setCancelled ( boolean  cancel)

Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.

Parameters
canceltrue if you wish to cancel this event

Implemented in org.bukkit.event.player.AsyncPlayerChatEvent, org.bukkit.event.player.PlayerEditBookEvent, org.bukkit.event.enchantment.EnchantItemEvent, org.bukkit.event.player.PlayerStatisticIncrementEvent, org.bukkit.event.inventory.InventoryMoveItemEvent, org.bukkit.event.inventory.FurnaceBurnEvent, org.bukkit.event.enchantment.PrepareItemEnchantEvent, org.bukkit.event.world.StructureGrowEvent, org.bukkit.event.entity.PotionSplashEvent, org.bukkit.event.vehicle.VehicleDamageEvent, org.bukkit.event.player.PlayerBucketEvent, org.bukkit.event.inventory.InventoryInteractEvent, org.bukkit.event.block.BlockDispenseEvent, org.bukkit.event.block.SignChangeEvent, org.bukkit.event.entity.EntityShootBowEvent, org.bukkit.event.player.PlayerCommandPreprocessEvent, org.bukkit.event.block.BlockDamageEvent, org.bukkit.event.entity.EntityRegainHealthEvent, org.bukkit.event.inventory.FurnaceSmeltEvent, org.bukkit.event.entity.PlayerLeashEntityEvent, org.bukkit.event.painting.PaintingPlaceEvent, org.bukkit.event.player.PlayerInteractEvent, org.bukkit.event.entity.EntityChangeBlockEvent, org.bukkit.event.player.PlayerFishEvent, org.bukkit.event.player.PlayerItemConsumeEvent, org.bukkit.event.block.BlockFromToEvent, org.bukkit.event.hanging.HangingPlaceEvent, org.bukkit.event.entity.FoodLevelChangeEvent, org.bukkit.event.block.BlockBreakEvent, org.bukkit.event.block.BlockIgniteEvent, org.bukkit.event.inventory.InventoryOpenEvent, org.bukkit.event.block.BlockPhysicsEvent, org.bukkit.event.player.PlayerChatEvent, org.bukkit.event.block.BlockFadeEvent, org.bukkit.event.player.PlayerMoveEvent, org.bukkit.event.inventory.InventoryPickupItemEvent, org.bukkit.event.block.BlockGrowEvent, org.bukkit.event.player.PlayerKickEvent, org.bukkit.event.player.PlayerPickupItemEvent, org.bukkit.event.entity.EntityCreatePortalEvent, org.bukkit.event.player.PlayerItemHeldEvent, org.bukkit.event.player.PlayerAnimationEvent, org.bukkit.event.world.PortalCreateEvent, org.bukkit.event.block.BlockPlaceEvent, org.bukkit.event.painting.PaintingBreakEvent, org.bukkit.event.inventory.BrewEvent, org.bukkit.event.vehicle.VehicleDestroyEvent, org.bukkit.event.entity.CreatureSpawnEvent, org.bukkit.event.player.PlayerAchievementAwardedEvent, org.bukkit.event.player.PlayerDropItemEvent, org.bukkit.event.vehicle.VehicleEnterEvent, org.bukkit.event.vehicle.VehicleExitEvent, org.bukkit.event.entity.CreeperPowerEvent, org.bukkit.event.entity.EntityExplodeEvent, org.bukkit.event.hanging.HangingBreakEvent, org.bukkit.event.player.PlayerToggleFlightEvent, org.bukkit.event.player.PlayerToggleSneakEvent, org.bukkit.event.player.PlayerToggleSprintEvent, org.bukkit.event.player.PlayerUnleashEntityEvent, org.bukkit.event.entity.EntityDamageEvent, org.bukkit.event.entity.ExplosionPrimeEvent, org.bukkit.event.vehicle.VehicleEntityCollisionEvent, org.bukkit.event.block.NotePlayEvent, org.bukkit.event.entity.EntityTameEvent, org.bukkit.event.entity.EntityTeleportEvent, org.bukkit.event.entity.ItemDespawnEvent, org.bukkit.event.entity.PigZapEvent, org.bukkit.event.entity.EntityCombustEvent, org.bukkit.event.block.BlockBurnEvent, org.bukkit.event.entity.EntityTargetEvent, org.bukkit.event.entity.SheepDyeWoolEvent, org.bukkit.event.player.PlayerShearEntityEvent, org.bukkit.event.entity.EntityInteractEvent, org.bukkit.event.entity.ItemSpawnEvent, org.bukkit.event.player.PlayerBedEnterEvent, org.bukkit.event.player.PlayerGameModeChangeEvent, org.bukkit.event.player.PlayerInteractEntityEvent, org.bukkit.event.player.PlayerVelocityEvent, org.bukkit.event.weather.LightningStrikeEvent, org.bukkit.event.block.BlockPistonEvent, org.bukkit.event.block.LeavesDecayEvent, org.bukkit.event.entity.HorseJumpEvent, org.bukkit.event.entity.SlimeSplitEvent, org.bukkit.event.weather.ThunderChangeEvent, org.bukkit.event.weather.WeatherChangeEvent, org.bukkit.event.entity.ProjectileLaunchEvent, org.bukkit.event.entity.SheepRegrowWoolEvent, org.bukkit.event.world.ChunkUnloadEvent, and org.bukkit.event.world.WorldUnloadEvent.


The documentation for this interface was generated from the following file: