Uses of Interface
org.bukkit.event.Cancellable
-
Packages that use Cancellable Package Description org.bukkit.event.block org.bukkit.event.enchantment Eventstriggered from anenchantment table.org.bukkit.event.entity org.bukkit.event.hanging Eventsrelating toentities that hang.org.bukkit.event.inventory org.bukkit.event.player org.bukkit.event.raid org.bukkit.event.server Eventsrelating to programmatic state changes on the server.org.bukkit.event.vehicle Eventsrelating tovehicular entities.org.bukkit.event.weather Eventsrelating to weather.org.bukkit.event.world org.spigotmc.event.entity -
-
Uses of Cancellable in org.bukkit.event.block
Classes in org.bukkit.event.block that implement Cancellable Modifier and Type Class Description classBlockBreakEventCalled when a block is broken by a player.classBlockBurnEventCalled when a block is destroyed as a result of being burnt by fire.classBlockCookEventCalled when an ItemStack is successfully cooked in a block.classBlockDamageEventCalled when a block is damaged by a player.classBlockDispenseArmorEventCalled when an equippable item is dispensed from a block and equipped on a nearby entity.classBlockDispenseEventCalled when an item is dispensed from a block.classBlockDropItemEventCalled if a block broken by a player drops an item.classBlockExplodeEventCalled when a block explodesclassBlockFadeEventCalled when a block fades, melts or disappears based on world conditionsclassBlockFertilizeEventCalled with the block changes resulting from a player fertilizing a given block with bonemeal.classBlockFormEventCalled when a block is formed or spreads based on world conditions.classBlockFromToEventRepresents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.classBlockGrowEventCalled when a block grows naturally in the world.classBlockIgniteEventCalled when a block is ignited.classBlockMultiPlaceEventFired when a single block placement action of a player triggers the creation of multiple blocks(e.g. placing a bed block).classBlockPhysicsEventThrown when a block physics check is called.classBlockPistonEventCalled when a piston block is triggeredclassBlockPistonExtendEventCalled when a piston extendsclassBlockPistonRetractEventCalled when a piston retractsclassBlockPlaceEventCalled when a block is placed by a player.classBlockShearEntityEventEvent fired when a dispenser shears a nearby sheep.classBlockSpreadEventCalled when a block spreads based on world conditions.classCauldronLevelChangeEventclassEntityBlockFormEventCalled when a block is formed by entities.classFluidLevelChangeEventCalled when the fluid level of a block changes due to changes in adjacent blocks.classLeavesDecayEventCalled when leaves are decaying naturally.classMoistureChangeEventCalled when the moisture level of a soil block changes.classNotePlayEventCalled when a note block is being played through player interaction or a redstone current.classSignChangeEventCalled when a sign is changed by a player.classSpongeAbsorbEventCalled when a sponge absorbs water from the world. -
Uses of Cancellable in org.bukkit.event.enchantment
Classes in org.bukkit.event.enchantment that implement Cancellable Modifier and Type Class Description classEnchantItemEventCalled when an ItemStack is successfully enchanted (currently at enchantment table)classPrepareItemEnchantEventCalled when an ItemStack is inserted in an enchantment table - can be called multiple times -
Uses of Cancellable in org.bukkit.event.entity
Classes in org.bukkit.event.entity that implement Cancellable Modifier and Type Class Description classAreaEffectCloudApplyEventCalled when a lingering potion applies it's effects.classBatToggleSleepEventCalled when a bat attempts to sleep or wake up from its slumber.classCreatureSpawnEventCalled when a creature is spawned into a world.classCreeperPowerEventCalled when a Creeper is struck by lightning.classEnderDragonChangePhaseEventCalled when an EnderDragon switches controller phase.classEntityAirChangeEventCalled when the amount of air an entity has remaining changes.classEntityBreakDoorEventCalled when anEntitybreaks a doorclassEntityBreedEventCalled when one Entity breeds with another Entity.classEntityChangeBlockEventCalled when any Entity, excluding players, changes a block.classEntityCombustByBlockEventCalled when a block causes an entity to combust.classEntityCombustByEntityEventCalled when an entity causes another entity to combust.classEntityCombustEventCalled when an entity combusts.classEntityCreatePortalEventDeprecated.classEntityDamageByBlockEventCalled when an entity is damaged by a blockclassEntityDamageByEntityEventCalled when an entity is damaged by an entityclassEntityDamageEventStores data for damage eventsclassEntityDropItemEventThrown when an entity creates an item drop.classEntityExplodeEventCalled when an entity explodesclassEntityInteractEventCalled when an entity interacts with an objectclassEntityPickupItemEventThrown when a entity picks an item up from the groundclassEntityPlaceEventDeprecated.draft APIclassEntityPortalEventCalled when a non-player entity is about to teleport because it is in contact with a portal.classEntityPortalExitEventCalled before an entity exits a portal.classEntityPotionEffectEventCalled when a potion effect is modified on an entity.classEntityRegainHealthEventStores data for health-regain eventsclassEntityResurrectEventCalled when an entity dies and may have the opportunity to be resurrected.classEntityShootBowEventCalled when a LivingEntity shoots a bow firing an arrowclassEntitySpawnEventCalled when an entity is spawned into a world.classEntityTameEventThrown when a LivingEntity is tamedclassEntityTargetEventCalled when a creature targets or untargets another entityclassEntityTargetLivingEntityEventCalled when an Entity targets aLivingEntityand can only target LivingEntity's.classEntityTeleportEventThrown when a non-player entity is teleported from one location to another.classEntityToggleGlideEventSent when an entity's gliding status is toggled with an Elytra.classEntityToggleSwimEventSent when an entity's swimming status is toggled.classEntityTransformEventCalled when an entity is about to be replaced by another entity.classExplosionPrimeEventCalled when an entity has made a decision to explode.classFireworkExplodeEventCalled when a firework explodes.classFoodLevelChangeEventCalled when a human entity's food level changesclassHorseJumpEventCalled when a horse jumps.classItemDespawnEventThis event is called when aItemis removed from the world because it has existed for 5 minutes.classItemMergeEventclassItemSpawnEventCalled when an item is spawned into a worldclassLingeringPotionSplashEventCalled when a splash potion hits an areaclassPigZapEventStores data for pigs being zappedclassPigZombieAngerEventCalled when a Pig Zombie is angered by another entity.classPlayerLeashEntityEventCalled immediately prior to a creature being leashed by a player.classPotionSplashEventCalled when a splash potion hits an areaclassProjectileLaunchEventCalled when a projectile is launched.classSheepDyeWoolEventCalled when a sheep's wool is dyedclassSheepRegrowWoolEventCalled when a sheep regrows its woolclassSlimeSplitEventCalled when a Slime splits into smaller Slimes upon deathclassSpawnerSpawnEventCalled when an entity is spawned into a world by a spawner.classVillagerAcquireTradeEventCalled whenever a villager acquires a new trade.classVillagerCareerChangeEventclassVillagerReplenishTradeEventCalled when a villager's trade's maximum uses is increased, due to a player's trade. -
Uses of Cancellable in org.bukkit.event.hanging
Classes in org.bukkit.event.hanging that implement Cancellable Modifier and Type Class Description classHangingBreakByEntityEventTriggered when a hanging entity is removed by an entityclassHangingBreakEventTriggered when a hanging entity is removedclassHangingPlaceEventTriggered when a hanging entity is created in the world -
Uses of Cancellable in org.bukkit.event.inventory
Classes in org.bukkit.event.inventory that implement Cancellable Modifier and Type Class Description classBrewEventCalled when the brewing of the contents inside the Brewing Stand is complete.classBrewingStandFuelEventCalled when an ItemStack is about to increase the fuel level of a brewing stand.classCraftItemEventCalled when the recipe of an Item is completed inside a crafting matrix.classFurnaceBurnEventCalled when an ItemStack is successfully burned as fuel in a furnace.classFurnaceSmeltEventCalled when an ItemStack is successfully smelted in a furnace.classInventoryClickEventThis event is called when a player clicks a slot in an inventory.classInventoryCreativeEventThis event is called when a player in creative mode puts down or picks up an item in their inventory / hotbar and when they drop items from their Inventory while in creative mode.classInventoryDragEventThis event is called when the player drags an item in their cursor across the inventory.classInventoryInteractEventAn abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.classInventoryMoveItemEventCalled when some entity or block (e.g. hopper) tries to move items directly from one inventory to another.classInventoryOpenEventRepresents a player related inventory eventclassInventoryPickupItemEventCalled when a hopper or hopper minecart picks up a dropped item.classTradeSelectEventThis event is called whenever a player clicks a new trade on the trades sidebar. -
Uses of Cancellable in org.bukkit.event.player
Classes in org.bukkit.event.player that implement Cancellable Modifier and Type Class Description classAsyncPlayerChatEventThis event will sometimes fire synchronously, depending on how it was triggered.classPlayerAchievementAwardedEventDeprecated.future versions of Minecraft do not have achievementsclassPlayerAnimationEventRepresents a player animation eventclassPlayerArmorStandManipulateEventCalled when a player interacts with an armor stand and will either swap, retrieve or place an item.classPlayerBedEnterEventThis event is fired when the player is almost about to enter the bed.classPlayerBucketEmptyEventCalled when a player empties a bucketclassPlayerBucketEventCalled when a player interacts with a BucketclassPlayerBucketFillEventCalled when a player fills a bucketclassPlayerChatEventDeprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent.classPlayerCommandPreprocessEventThis event is called whenever a player runs a command (by placing a slash at the start of their message).classPlayerDropItemEventThrown when a player drops an item from their inventoryclassPlayerEditBookEventCalled when a player edits or signs a book and quill item.classPlayerFishEventThrown when a player is fishingclassPlayerGameModeChangeEventCalled when the GameMode of the player is changed.classPlayerInteractAtEntityEventRepresents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.classPlayerInteractEntityEventRepresents an event that is called when a player right clicks an entity.classPlayerInteractEventRepresents an event that is called when a player interacts with an object or air, potentially fired once for each hand.classPlayerItemConsumeEventThis event will fire when a player is finishing consuming an item (food, potion, milk bucket).classPlayerItemDamageEventCalled when an item used by the player takes durability damage as a result of being used.classPlayerItemHeldEventFired when a player changes their currently held itemclassPlayerItemMendEventRepresents when a player has an item repaired via the Mending enchantment.classPlayerKickEventCalled when a player gets kicked from the serverclassPlayerMoveEventHolds information for player movement eventsclassPlayerPickupArrowEventThrown when a player picks up an arrow from the ground.classPlayerPickupItemEventDeprecated.classPlayerPortalEventCalled when a player is about to teleport because it is in contact with a portal.classPlayerRecipeDiscoverEventCalled when a player discovers a new recipe in the recipe book.classPlayerShearEntityEventCalled when a player shears an entityclassPlayerStatisticIncrementEventCalled when a player statistic is incremented.classPlayerSwapHandItemsEventCalled when a player swap items between main hand and off hand using the hotkey.classPlayerTakeLecternBookEventThis event is called when a player clicks the button to take a book of a Lectern.classPlayerTeleportEventHolds information for player teleport eventsclassPlayerToggleFlightEventCalled when a player toggles their flying stateclassPlayerToggleSneakEventCalled when a player toggles their sneaking stateclassPlayerToggleSprintEventCalled when a player toggles their sprinting stateclassPlayerUnleashEntityEventCalled prior to an entity being unleashed due to a player's action.classPlayerVelocityEventCalled when the velocity of a player changes. -
Uses of Cancellable in org.bukkit.event.raid
Classes in org.bukkit.event.raid that implement Cancellable Modifier and Type Class Description classRaidTriggerEventCalled when aRaidis triggered (e.g: a player with Bad Omen effect enters a village). -
Uses of Cancellable in org.bukkit.event.server
Classes in org.bukkit.event.server that implement Cancellable Modifier and Type Class Description classBroadcastMessageEventEvent triggered for server broadcast messages such as fromServer.broadcast(String, String).classRemoteServerCommandEventThis event is called when a command is received over RCON.classServerCommandEventThis event is called when a command is run by a non-player.classTabCompleteEventCalled when aCommandSenderof any description (ie: player or console) attempts to tab complete. -
Uses of Cancellable in org.bukkit.event.vehicle
Classes in org.bukkit.event.vehicle that implement Cancellable Modifier and Type Class Description classVehicleCreateEventRaised when a vehicle is created.classVehicleDamageEventRaised when a vehicle receives damage.classVehicleDestroyEventRaised when a vehicle is destroyed, which could be caused by either a player or the environment.classVehicleEnterEventRaised when an entity enters a vehicle.classVehicleEntityCollisionEventRaised when a vehicle collides with an entity.classVehicleExitEventRaised when a living entity exits a vehicle. -
Uses of Cancellable in org.bukkit.event.weather
Classes in org.bukkit.event.weather that implement Cancellable Modifier and Type Class Description classLightningStrikeEventStores data for lightning strikingclassThunderChangeEventStores data for thunder state changing in a worldclassWeatherChangeEventStores data for weather changing in a world -
Uses of Cancellable in org.bukkit.event.world
Classes in org.bukkit.event.world that implement Cancellable Modifier and Type Class Description classPortalCreateEventCalled when a portal is createdclassStructureGrowEventEvent that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.classWorldUnloadEventCalled when a World is unloaded -
Uses of Cancellable in org.spigotmc.event.entity
Classes in org.spigotmc.event.entity that implement Cancellable Modifier and Type Class Description classEntityDismountEventCalled when an entity stops riding another entity.classEntityMountEventCalled when an entity attempts to ride another entity.
-