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 class
BlockBreakEvent
Called when a block is broken by a player.class
BlockBurnEvent
Called when a block is destroyed as a result of being burnt by fire.class
BlockDamageEvent
Called when a block is damaged by a player.class
BlockDispenseEvent
Called when an item is dispensed from a block.class
BlockExplodeEvent
Called when a block explodesclass
BlockFadeEvent
Called when a block fades, melts or disappears based on world conditionsclass
BlockFormEvent
Called when a block is formed or spreads based on world conditions.class
BlockFromToEvent
Represents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.class
BlockGrowEvent
Called when a block grows naturally in the world.class
BlockIgniteEvent
Called when a block is ignited.class
BlockMultiPlaceEvent
Fired when a single block placement action of a player triggers the creation of multiple blocks(e.g.class
BlockPhysicsEvent
Thrown when a block physics check is calledclass
BlockPistonEvent
Called when a piston block is triggeredclass
BlockPistonExtendEvent
Called when a piston extendsclass
BlockPistonRetractEvent
Called when a piston retractsclass
BlockPlaceEvent
Called when a block is placed by a player.class
BlockSpreadEvent
Called when a block spreads based on world conditions.class
EntityBlockFormEvent
Called when a block is formed by entities.class
LeavesDecayEvent
Called when leaves are decaying naturally.class
NotePlayEvent
Called when a note block is being played through player interaction or a redstone current.class
SignChangeEvent
Called 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 class
EnchantItemEvent
Called when an ItemStack is successfully enchanted (currently at enchantment table)class
PrepareItemEnchantEvent
Called 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 class
CreatureSpawnEvent
Called when a creature is spawned into a world.class
CreeperPowerEvent
Called when a Creeper is struck by lightning.class
EntityBreakDoorEvent
Called when anEntity
breaks a doorclass
EntityChangeBlockEvent
Called when any Entity, excluding players, changes a block.class
EntityCombustByBlockEvent
Called when a block causes an entity to combust.class
EntityCombustByEntityEvent
Called when an entity causes another entity to combust.class
EntityCombustEvent
Called when an entity combusts.class
EntityCreatePortalEvent
Thrown when a Living Entity creates a portal in a world.class
EntityDamageByBlockEvent
Called when an entity is damaged by a blockclass
EntityDamageByEntityEvent
Called when an entity is damaged by an entityclass
EntityDamageEvent
Stores data for damage eventsclass
EntityExplodeEvent
Called when an entity explodesclass
EntityInteractEvent
Called when an entity interacts with an objectclass
EntityPortalEvent
Called when a non-player entity is about to teleport because it is in contact with a portal.class
EntityPortalExitEvent
Called before an entity exits a portal.class
EntityRegainHealthEvent
Stores data for health-regain eventsclass
EntityShootBowEvent
Called when a LivingEntity shoots a bow firing an arrowclass
EntitySpawnEvent
Called when an entity is spawned into a world.class
EntityTameEvent
Thrown when a LivingEntity is tamedclass
EntityTargetEvent
Called when a creature targets or untargets another entityclass
EntityTargetLivingEntityEvent
Called when an Entity targets aLivingEntity
and can only target LivingEntity's.class
EntityTeleportEvent
Thrown when a non-player entity (such as an Enderman) tries to teleport from one location to another.class
ExplosionPrimeEvent
Called when an entity has made a decision to explode.class
FireworkExplodeEvent
Called when a firework explodes.class
FoodLevelChangeEvent
Called when a human entity's food level changesclass
HorseJumpEvent
Called when a horse jumps.class
ItemDespawnEvent
This event is called when aItem
is removed from the world because it has existed for 5 minutes.class
ItemMergeEvent
class
ItemSpawnEvent
Called when an item is spawned into a worldclass
PigZapEvent
Stores data for pigs being zappedclass
PlayerLeashEntityEvent
Called immediately prior to a creature being leashed by a player.class
PotionSplashEvent
Called when a splash potion hits an areaclass
ProjectileLaunchEvent
Called when a projectile is launched.class
SheepDyeWoolEvent
Called when a sheep's wool is dyedclass
SheepRegrowWoolEvent
Called when a sheep regrows its woolclass
SlimeSplitEvent
Called when a Slime splits into smaller Slimes upon deathclass
SpawnerSpawnEvent
Called 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 class
HangingBreakByEntityEvent
Triggered when a hanging entity is removed by an entityclass
HangingBreakEvent
Triggered when a hanging entity is removedclass
HangingPlaceEvent
Triggered 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 class
BrewEvent
Called when the brewing of the contents inside the Brewing Stand is complete.class
CraftItemEvent
Called when the recipe of an Item is completed inside a crafting matrix.class
FurnaceBurnEvent
Called when an ItemStack is successfully burned as fuel in a furnace.class
FurnaceSmeltEvent
Called when an ItemStack is successfully smelted in a furnace.class
InventoryClickEvent
This event is called when a player clicks a slot in an inventory.class
InventoryCreativeEvent
This 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.class
InventoryDragEvent
This event is called when the player drags an item in their cursor across the inventory.class
InventoryInteractEvent
An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.class
InventoryMoveItemEvent
Called when some entity or block (e.g.class
InventoryOpenEvent
Represents a player related inventory eventclass
InventoryPickupItemEvent
Called 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 class
PaintingBreakByEntityEvent
Deprecated.UseHangingBreakByEntityEvent
instead.class
PaintingBreakEvent
Deprecated.UseHangingBreakEvent
instead.class
PaintingPlaceEvent
Deprecated.UseHangingPlaceEvent
instead. -
Uses of Cancellable in org.bukkit.event.player
Classes in org.bukkit.event.player that implement Cancellable Modifier and Type Class Description class
AsyncPlayerChatEvent
This event will sometimes fire synchronously, depending on how it was triggered.class
PlayerAchievementAwardedEvent
Called when a player earns an achievement.class
PlayerAnimationEvent
Represents a player animation eventclass
PlayerArmorStandManipulateEvent
Called when a player interacts with an armor stand and will either swap, retrieve or place an item.class
PlayerBedEnterEvent
This event is fired when the player is almost about to enter the bed.class
PlayerBucketEmptyEvent
Called when a player empties a bucketclass
PlayerBucketEvent
Called when a player interacts with a Bucketclass
PlayerBucketFillEvent
Called when a player fills a bucketclass
PlayerChatEvent
Deprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent
.class
PlayerCommandPreprocessEvent
This event is called whenever a player runs a command (by placing a slash at the start of their message).class
PlayerDropItemEvent
Thrown when a player drops an item from their inventoryclass
PlayerEditBookEvent
Called when a player edits or signs a book and quill item.class
PlayerFishEvent
Thrown when a player is fishingclass
PlayerGameModeChangeEvent
Called when the GameMode of the player is changed.class
PlayerInteractAtEntityEvent
Represents an event that is called when a player right clicks an entity with a location on the entity the was clicked.class
PlayerInteractEntityEvent
Represents an event that is called when a player right clicks an entity.class
PlayerInteractEvent
Called when a player interacts with an object or air.class
PlayerItemConsumeEvent
This event will fire when a player is finishing consuming an item (food, potion, milk bucket).class
PlayerItemDamageEvent
class
PlayerItemHeldEvent
Fired when a player changes their currently held itemclass
PlayerKickEvent
Called when a player gets kicked from the serverclass
PlayerMoveEvent
Holds information for player movement eventsclass
PlayerPickupItemEvent
Thrown when a player picks an item up from the groundclass
PlayerPortalEvent
Called when a player is about to teleport because it is in contact with a portal.class
PlayerShearEntityEvent
Called when a player shears an entityclass
PlayerStatisticIncrementEvent
Called when a player statistic is incremented.class
PlayerTeleportEvent
Holds information for player teleport eventsclass
PlayerToggleFlightEvent
Called when a player toggles their flying stateclass
PlayerToggleSneakEvent
Called when a player toggles their sneaking stateclass
PlayerToggleSprintEvent
Called when a player toggles their sprinting stateclass
PlayerUnleashEntityEvent
Called prior to an entity being unleashed due to a player's action.class
PlayerVelocityEvent
Called 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 class
RemoteServerCommandEvent
This event is called when a command is recieved over RCON.class
ServerCommandEvent
This 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 class
VehicleDamageEvent
Raised when a vehicle receives damage.class
VehicleDestroyEvent
Raised when a vehicle is destroyed, which could be caused by either a player or the environment.class
VehicleEnterEvent
Raised when an entity enters a vehicle.class
VehicleEntityCollisionEvent
Raised when a vehicle collides with an entity.class
VehicleExitEvent
Raised 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 class
LightningStrikeEvent
Stores data for lightning strikingclass
ThunderChangeEvent
Stores data for thunder state changing in a worldclass
WeatherChangeEvent
Stores 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 class
ChunkUnloadEvent
Called when a chunk is unloadedclass
PortalCreateEvent
Called when a portal is createdclass
StructureGrowEvent
Event that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.class
WorldUnloadEvent
Called 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 class
EntityMountEvent
Called when an entity attempts to ride another entity.