Uses of Interface
org.bukkit.event.Cancellable
| Package | Description |
|---|---|
| org.bukkit.event.block | |
| org.bukkit.event.enchantment |
Events triggered from an enchantment table. |
| org.bukkit.event.entity | |
| org.bukkit.event.hanging |
Events relating to entities that hang. |
| org.bukkit.event.inventory | |
| org.bukkit.event.painting | |
| org.bukkit.event.player | |
| org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
| org.bukkit.event.vehicle |
Events relating to vehicular entities. |
| org.bukkit.event.weather |
Events relating 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.classBlockDamageEventCalled when a block is damaged by a player.classBlockDispenseEventCalled when an item is dispensed from a block.classBlockExplodeEventCalled when a block explodesclassBlockFadeEventCalled when a block fades, melts or disappears based on world conditionsclassBlockFormEventCalled 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.classBlockPhysicsEventThrown when a block physics check is calledclassBlockPistonEventCalled when a piston block is triggeredclassBlockPistonExtendEventCalled when a piston extendsclassBlockPistonRetractEventCalled when a piston retractsclassBlockPlaceEventCalled when a block is placed by a player.classBlockSpreadEventCalled when a block spreads based on world conditions.classEntityBlockFormEventCalled when a block is formed by entities.classLeavesDecayEventCalled when leaves are decaying naturally.classNotePlayEventCalled when a note block is being played through player interaction or a redstone current.classSignChangeEventCalled when a sign is changed by a player. -
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 classCreatureSpawnEventCalled when a creature is spawned into a world.classCreeperPowerEventCalled when a Creeper is struck by lightning.classEntityBreakDoorEventCalled when anEntitybreaks a doorclassEntityChangeBlockEventCalled 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.classEntityCreatePortalEventThrown when a Living Entity creates a portal in a world.classEntityDamageByBlockEventCalled when an entity is damaged by a blockclassEntityDamageByEntityEventCalled when an entity is damaged by an entityclassEntityDamageEventStores data for damage eventsclassEntityExplodeEventCalled when an entity explodesclassEntityInteractEventCalled when an entity interacts with an objectclassEntityPortalEventCalled when a non-player entity is about to teleport because it is in contact with a portal.classEntityPortalExitEventCalled before an entity exits a portal.classEntityRegainHealthEventStores data for health-regain eventsclassEntityShootBowEventCalled 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 (such as an Enderman) tries to teleport from one location to another.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 worldclassPigZapEventStores data for pigs being zappedclassPlayerLeashEntityEventCalled 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. -
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.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.classInventoryOpenEventRepresents a player related inventory eventclassInventoryPickupItemEventCalled when a hopper or hopper minecart picks up a dropped item. -
Uses of Cancellable in org.bukkit.event.painting
Classes in org.bukkit.event.painting that implement Cancellable Modifier and Type Class Description classPaintingBreakByEntityEventDeprecated.UseHangingBreakByEntityEventinstead.classPaintingBreakEventDeprecated.UseHangingBreakEventinstead.classPaintingPlaceEventDeprecated.UseHangingPlaceEventinstead. -
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.classPlayerAchievementAwardedEventCalled when a player earns an achievement.classPlayerAnimationEventRepresents 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 with a location on the entity the was clicked.classPlayerInteractEntityEventRepresents an event that is called when a player right clicks an entity.classPlayerInteractEventCalled when a player interacts with an object or air.classPlayerItemConsumeEventThis event will fire when a player is finishing consuming an item (food, potion, milk bucket).classPlayerItemDamageEventclassPlayerItemHeldEventFired when a player changes their currently held itemclassPlayerKickEventCalled when a player gets kicked from the serverclassPlayerMoveEventHolds information for player movement eventsclassPlayerPickupItemEventThrown when a player picks an item up from the groundclassPlayerPortalEventCalled when a player is about to teleport because it is in contact with a portal.classPlayerShearEntityEventCalled when a player shears an entityclassPlayerStatisticIncrementEventCalled when a player statistic is incremented.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.server
Classes in org.bukkit.event.server that implement Cancellable Modifier and Type Class Description classRemoteServerCommandEventThis event is called when a command is recieved over RCON.classServerCommandEventThis event is called when a command is run from the server console. -
Uses of Cancellable in org.bukkit.event.vehicle
Classes in org.bukkit.event.vehicle that implement Cancellable Modifier and Type Class Description 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 classChunkUnloadEventCalled when a chunk is unloadedclassPortalCreateEventCalled 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 classEntityMountEventCalled when an entity attempts to ride another entity.