Uses of Interface
org.bukkit.event.Cancellable
Packages that use Cancellable
Package
Description
Events triggered from an enchantment table.Events relating to entities that hang.Events related to raids.Events relating to programmatic state
changes on the server.Events relating to vehicular entities.Events relating to weather.Spigot-specific entity events.
-
Uses of Cancellable in org.bukkit.event.block
Classes in org.bukkit.event.block that implement CancellableModifier and TypeClassDescriptionclassCalled when a bell is being rung.classCalled when a block is broken by a player.classCalled when a block is destroyed as a result of being burnt by fire.classCalled when an ItemStack is successfully cooked in a block.classCalled when a block is damaged by a player.classCalled when an equippable item is dispensed from a block and equipped on a nearby entity.classCalled when an item is dispensed from a block.classCalled if a block broken by a player drops an item.classCalled when a block explodesclassCalled when a block fades, melts or disappears based on world conditionsclassCalled with the block changes resulting from a player fertilizing a given block with bonemeal.classCalled when a block is formed or spreads based on world conditions.classRepresents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.classCalled when a block grows naturally in the world.classCalled when a block is ignited.classFired when a single block placement action of a player triggers the creation of multiple blocks(e.g.classThrown when a block physics check is called.classCalled when a piston block is triggeredclassCalled when a piston extendsclassCalled when a piston retractsclassCalled when a block is placed by a player.classCalled when a Sculk sensor receives a game event and hence might activate.classEvent fired when a dispenser shears a nearby sheep.classCalled when a block spreads based on world conditions.classclassCalled when a block is formed by entities.classCalled when the fluid level of a block changes due to changes in adjacent blocks.classCalled when leaves are decaying naturally.classCalled when the moisture level of a soil block changes.classCalled when a note block is being played through player interaction or a redstone current.classCalled when a sign is changed by a player.classCalled when a sponge absorbs water from the world.classCalled when a block of TNT in the world become primed. -
Uses of Cancellable in org.bukkit.event.enchantment
Classes in org.bukkit.event.enchantment that implement CancellableModifier and TypeClassDescriptionclassCalled when an ItemStack is successfully enchanted (currently at enchantment table)classCalled 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 CancellableModifier and TypeClassDescriptionclassCalled when a lingering potion applies it's effects.classCalled when an arrow enters or exists an entity's body.classCalled when a bat attempts to sleep or wake up from its slumber.classCalled when a creature is spawned into a world.classCalled when a Creeper is struck by lightning.classCalled when an EnderDragon switches controller phase.classCalled when the amount of air an entity has remaining changes.classCalled when anEntitybreaks a doorclassCalled when one Entity breeds with another Entity.classCalled when any Entity changes a block and a more specific event is not available.classCalled when a block causes an entity to combust.classCalled when an entity causes another entity to combust.classCalled when an entity combusts.classDeprecated.classCalled when an entity is damaged by a blockclassCalled when an entity is damaged by an entityclassStores data for damage eventsclassThrown when an entity creates an item drop.classCalled when anEntityenters a block and is stored in that block.classCalled when an entity enters love mode.classCalled when a human entity experiences exhaustion.classCalled when an entity explodesclassCalled when an entity interacts with an objectclassThrown when a entity picks an item up from the groundclassTriggered when a entity is created in the world by a player "placing" an item on a block.classCalled when a non-player entity is about to teleport because it is in contact with a portal.classCalled before an entity exits a portal.classCalled when a potion effect is modified on an entity.classStores data for health-regain eventsclassCalled when an entity dies and may have the opportunity to be resurrected.classCalled when a LivingEntity shoots a bow firing an arrowclassCalled when an entity is spawned into a world.classCalled when aSpellcastercasts a spell.classThrown when a LivingEntity is tamedclassCalled when a creature targets or untargets another entityclassCalled when an Entity targets aLivingEntityand can only target LivingEntity's.classThrown when a non-player entity is teleported from one location to another.classSent when an entity's gliding status is toggled with an Elytra.classSent when an entity's swimming status is toggled.classCalled when an entity is about to be replaced by another entity.classCalled when a ThrownExpBottle hits and releases experience.classCalled when an entity has made a decision to explode.classCalled when a firework explodes.classCalled when a human entity's food level changesclassCalled when a horse jumps.classThis event is called when aItemis removed from the world because it has existed for 5 minutes.classclassCalled when an item is spawned into a worldclassCalled when a splash potion hits an areaclassStores all data related to the bartering interaction with a piglin.classStores data for pigs being zappedclassCalled when a Pig Zombie is angered by another entity.classCalled immediately prior to a creature being leashed by a player.classCalled when a splash potion hits an areaclassCalled when a projectile hits an objectclassCalled when a projectile is launched.classCalled when a sheep's wool is dyedclassCalled when a sheep regrows its woolclassCalled when a Slime splits into smaller Slimes upon deathclassCalled when an entity is spawned into a world by a spawner.classCalled when aStrider's temperature has changed as a result of entering or exiting blocks it considers warm.classCalled whenever a villager acquires a new trade.classclassCalled when aVillageris about to restock one of its trades. -
Uses of Cancellable in org.bukkit.event.hanging
Classes in org.bukkit.event.hanging that implement CancellableModifier and TypeClassDescriptionclassTriggered when a hanging entity is removed by an entityclassTriggered when a hanging entity is removedclassTriggered 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 CancellableModifier and TypeClassDescriptionclassCalled when the brewing of the contents inside the Brewing Stand is complete.classCalled when an ItemStack is about to increase the fuel level of a brewing stand.classCalled when the recipe of an Item is completed inside a crafting matrix.classCalled when an ItemStack is successfully burned as fuel in a furnace.classCalled when an ItemStack is successfully smelted in a furnace.classThis event is called when a player clicks in an inventory.classThis 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.classThis event is called when the player drags an item in their cursor across the inventory.classAn abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.classCalled when some entity or block (e.g.classRepresents a player related inventory eventclassCalled when a hopper or hopper minecart picks up a dropped item.classCalled when the recipe of an Item is completed inside a smithing table.classThis 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 CancellableModifier and TypeClassDescriptionclassThis event will sometimes fire synchronously, depending on how it was triggered.classDeprecated.chat previews have been removedclassRepresents a player animation eventclassCalled when a player interacts with an armor stand and will either swap, retrieve or place an item.classThis event is fired when the player is almost about to enter the bed.classThis event is fired when the player is leaving a bed.classCalled when a player empties a bucketclassThis event is called whenever a player captures an entity in a bucket.classCalled when a player interacts with a BucketclassCalled when a player fills a bucketclassDeprecated.Use the more genericPlayerBucketEntityEventclassDeprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent.classThis event is called whenever a player runs a command (by placing a slash at the start of their message).classThrown when a player drops an item from their inventoryclassCalled when a player edits or signs a book and quill item.classThrown when a player is fishingclassCalled when the GameMode of the player is changed.classThis event is called whenever a player harvests a block.classRepresents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.classRepresents an event that is called when a player right clicks an entity.classRepresents an event that is called when a player interacts with an object or air, potentially fired once for each hand.classThis event will fire when a player is finishing consuming an item (food, potion, milk bucket).classCalled when an item used by the player takes durability damage as a result of being used.classFired when a player changes their currently held itemclassRepresents when a player has an item repaired via the Mending enchantment.classCalled when a player gets kicked from the serverclassHolds information for player movement eventsclassThrown when a player picks up an arrow from the ground.classDeprecated.classCalled when a player is about to teleport because it is in contact with a portal which will generate an exit portal.classCalled when a player discovers a new recipe in the recipe book.classCalled when a player shears an entityclassThis event is fired when the spawn point of the player is changed.classCalled when a player statistic is incremented.classCalled when a player swap items between main hand and off hand using the hotkey.classThis event is called when a player clicks the button to take a book of a Lectern.classHolds information for player teleport eventsclassCalled when a player toggles their flying stateclassCalled when a player toggles their sneaking stateclassCalled when a player toggles their sprinting stateclassCalled prior to an entity being unleashed due to a player's action.classCalled when the velocity of a player changes. -
Uses of Cancellable in org.bukkit.event.raid
Classes in org.bukkit.event.raid that implement CancellableModifier and TypeClassDescriptionclassCalled 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 CancellableModifier and TypeClassDescriptionclassEvent triggered for server broadcast messages such as fromServer.broadcast(String, String).classThis event is called when a command is received over RCON.classThis event is called when a command is run by a non-player.classCalled 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 CancellableModifier and TypeClassDescriptionclassRaised when a vehicle is created.classRaised when a vehicle receives damage.classRaised when a vehicle is destroyed, which could be caused by either a player or the environment.classRaised when an entity enters a vehicle.classRaised when a vehicle collides with an entity.classRaised when a living entity exits a vehicle. -
Uses of Cancellable in org.bukkit.event.weather
Classes in org.bukkit.event.weather that implement CancellableModifier and TypeClassDescriptionclassStores data for lightning strikingclassStores data for thunder state changing in a worldclassStores data for weather changing in a world -
Uses of Cancellable in org.bukkit.event.world
Classes in org.bukkit.event.world that implement CancellableModifier and TypeClassDescriptionclassCalled when aStructureis naturally generated in the world.classRepresents a generic Mojang game event.classCalled when aLootTableis generated in the world for anInventoryHolder.classCalled when a portal is createdclassEvent that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.classCalled when the time skips in a world.classCalled when a World is unloaded -
Uses of Cancellable in org.spigotmc.event.entity
Classes in org.spigotmc.event.entity that implement CancellableModifier and TypeClassDescriptionclassCalled when an entity stops riding another entity.classCalled when an entity attempts to ride another entity.
PortalCreateEvent