Uses of Class
org.bukkit.event.Event
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.Classes specifically relating to loading software modules at runtime.
Classes for handling
plugins
written in
java.Spigot-specific player events.
-
Uses of Event in co.aikar.timings
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionTimedEventExecutor
(@NotNull EventExecutor executor, @NotNull Plugin plugin, @Nullable Method method, @NotNull Class<? extends Event> eventClass) Deprecated, for removal: This API element is subject to removal in a future version.Wraps an event executor and associates a timing handler to it. -
Uses of Event in com.destroystokyo.paper.event.block
Modifier and TypeClassDescriptionclass
Called when an anvil is damaged from being usedclass
Called when a beacon effect is being applied to a player.class
Fired anytime the server intends to 'destroy' a block through some triggering reason.class
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Event in com.destroystokyo.paper.event.brigadier
Modifier and TypeClassDescriptionclass
AsyncPlayerSendCommandsEvent<S extends CommandSourceStack>
Fired any time a Brigadier RootCommandNode is generated for a player to inform the client of commands.class
Called when sendingSuggestions
to the client.class
Deprecated.For removal, use the new brigadier api. -
Uses of Event in com.destroystokyo.paper.event.entity
Modifier and TypeClassDescriptionclass
Called when a Creeper is ignited either by a flint and steel,Creeper.ignite()
orCreeper.setIgnited(boolean)
.class
Fired when a DragonFireball collides with a block/entity and spawns an AreaEffectCloudclass
Fired when an EnderDragon spawns an AreaEffectCloud by shooting flamesclass
Fired when an EnderDragon shoots a fireballclass
Fired when an Enderman determines if it should attack a player or not.class
class
Fired any time an entity is being added to the world for any reason (including a chunk loading).class
Called when an entity jumpsclass
Fired when an Entity is knocked back by the hit of another Entity.class
Fired when an Entity decides to start moving towards a location.class
Fired any time an entity is being removed from a world for any reason (including a chunk unloading).class
Fired any time an entity attempts to teleport in an end gatewayclass
Fired when lightning strikes an entityclass
Fired anytime the server is about to merge 2 experience orbs into oneclass
Called when a phantom is spawned for an exhausted playerclass
Fired when the server is calculating what chunks to try to spawn monsters in every Monster Spawn Tick eventclass
WARNING: This event only fires for a limited number of cases, and not for every case thatCreatureSpawnEvent
does.class
Called before an entity is spawned into a world by a spawner.class
Deprecated.Deprecated, useProjectileHitEvent
and check if there is a hit entityclass
Event called when a player gets close to a skeleton horse and triggers the lightning trapclass
Fired when a Slime decides to change its facing direction.class
Fired when a Slime decides to start pathfinding.class
Fired when a Slime decides to start jumping while swimming in water/lava.class
Fired when a Slime decides to change direction to target a LivingEntity.class
Fired when a Slime decides to start wandering.class
Called when a thrown egg might hatch.class
Fired when a Turtle decides to go homeclass
Fired when a Turtle lays eggsclass
Fired when a Turtle starts digging to lay eggsclass
Fired when a witch consumes the potion in their hand to buff themselves.class
class
Fired when a witch throws a potion at a player -
Uses of Event in com.destroystokyo.paper.event.executor
Modifier and TypeMethodDescriptionvoid
void
ModifierConstructorDescriptionMethodHandleEventExecutor
(Class<? extends Event> eventClass, MethodHandle handle) MethodHandleEventExecutor
(Class<? extends Event> eventClass, Method m) StaticMethodHandleEventExecutor
(Class<? extends Event> eventClass, Method m) -
Uses of Event in com.destroystokyo.paper.event.inventory
Modifier and TypeClassDescriptionclass
Deprecated.class
Called when an item is put in an inventory containing a result slot -
Uses of Event in com.destroystokyo.paper.event.player
Modifier and TypeClassDescriptionclass
Deprecated.Not usedclass
Called after a player is granted a criteria in an advancement.class
Called when the player themselves change their armor itemsclass
Called when processing a player's attack on an entity when the player's attack strength cooldown is resetclass
Called when the player changes their client settingsclass
This event is invoked when a player has disconnected.class
Fired when a player boosts elytra flight with a fireworkclass
This event is fired during a player handshake.class
Called when the server detects the player is jumping.class
Called when a player shoots a projectile.class
Fired when a player is attempting to pick up an experience orbclass
Fired after a player has respawnedclass
Called when a player is firing a bow and the server is choosing an arrow to use.class
Called when a player clicks a recipe in the recipe bookclass
Called when a player's spawn is set, either by themselves or otherwise.class
Triggered when a player starts spectating an entity in spectator mode.class
Triggered when a player stops spectating an entity in spectator mode.class
Fired when a teleport is triggered for an End Gatewayclass
Represents an event that is called when a player right-clicks an unknown entity. -
Uses of Event in com.destroystokyo.paper.event.profile
Modifier and TypeClassDescriptionclass
Fired once a profiles additional properties (such as textures) has been filledclass
Allows a plugin to be notified anytime AFTER a Profile has been looked up from the Mojang API This is an opportunity to view the response and potentially cache things.class
Fired when the server is requesting to fill in properties of an incomplete profile, such as textures.class
Allows a plugin to intercept a Profile Lookup for a Profile by nameclass
Fires when the server needs to verify if a player is whitelisted. -
Uses of Event in com.destroystokyo.paper.event.server
Modifier and TypeClassDescriptionclass
Allows plugins to compute tab completion results asynchronously.final class
This event is fired if server is getting queried over GS4 Query protocol.class
Extended version ofServerListPingEvent
that allows full control of the response sent to the client.class
Called whenever an exception is thrown in a recoverable section of the server.class
Called when the server has finished ticking the main loopclass
class
This event is fired when whitelist is toggled -
Uses of Event in com.destroystokyo.paper.exception
Modifier and TypeMethodDescriptionServerEventException.getEvent()
Gets the event which caused the exceptionModifierConstructorDescriptionprotected
ServerEventException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException
(String message, Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException
(Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) -
Uses of Event in com.destroystokyo.paper.loottable
-
Uses of Event in io.papermc.paper.event.block
Modifier and TypeClassDescriptionclass
Called when a beacon is activated.class
Called when a beacon is deactivated, either because its base block(s) or itself were destroyed.class
Deprecated.class
Deprecated.useBellRingEvent
class
Called when a block forces another block to break and drop items.class
Called when the progress of a block break is updated.class
Called when a block tries to dispense an item, but its inventory is empty.class
Called when the server tries to check the lock on a lockable block entity.class
class
Called when an item is about to be composted by a hopper.class
Called when theEnderDragon
is defeated (killed) in aDragonBattle
, causing aMaterial.DRAGON_EGG
(more formally:BlockGrowEvent.getNewState()
) to possibly appear depending onBlockGrowEvent.isCancelled()
.class
Called when a player uses sheers on a block.class
Called when a Target Block is hit by a projectile. -
Uses of Event in io.papermc.paper.event.entity
Modifier and TypeClassDescriptionclass
Is called when anElderGuardian
appears in front of aPlayer
.class
Called when an item is about to be composted by an entity.class
Called when an item on or used by an entity takes durability damage as a result of being hit/used.class
Called when an entity is dyed.class
Called when two entities mate and the mating process results in a fertilization.class
Called when an entity enters the hitbox of a block.class
Called when an entity receives knockback.class
Called when a LivingEntity loads a crossbow with a projectile.class
Holds information for living entity movement eventsclass
Called when an entity is ready to be teleported by a plugin.class
Fired when an entity is pushed by another entity's attack.class
Is called when an entity sits down or stands up.class
Called just before aPufferFish
inflates or deflates.class
Fired when a shulker duplicates itself by spawning a new shulker.class
Called when aTameable
dies and sends a death message.class
Called when a Warden's anger level has changed due to another entity.class
Called when a splash water potion "splashes" and affects different entities in different ways. -
Uses of Event in io.papermc.paper.event.packet
Modifier and TypeClassDescriptionclass
class
Is called when aPlayer
receives a chunk unload packet. -
Uses of Event in io.papermc.paper.event.player
Modifier and TypeClassDescriptionclass
An abstract implementation of a chat event, handling shared logic.class
class
This event is fired when the server decorates a component for chat purposes.final class
An event fired when aPlayer
sends a chat message to the server.class
Called when the recipe of an Item is completed inside a cartography table.final class
Deprecated.Listening to this event forces chat to wait for the main thread, delaying chat messages.class
class
class
Called when a player sets the effect for a beaconclass
Called when a player has slept long enough to count as passing the night/storm.class
Runs when a player attempts to move, but is prevented from doing so by the serverclass
Called when a player places an item in or takes an item out of a flowerpot.class
This event is called when a player clicks on a lectern to insert a book.class
Called when a slot contents change in a player's inventory.class
Fired when a player receives an item cooldown.class
Called when anItemFrame
is having an item rotated, added, or removed from it.class
class
Called when a player selects a banner patten in a loom inventory.class
Called when the player is attempting to rename a mobclass
Called when a player begins editing a sign's text.class
Event that is fired when a player uses the pick item functionality (middle-clicking a block to get the appropriate item).class
Called when a player trades with a standalone merchant GUI.class
Called whenever a players shield is disabled due to an attack from another entity that was capable of disabling the shield.class
Called when aPlayer
clicks a side on a sign that causes a command to run.class
class
Called when the server detects a player stopping using an item.class
class
Called when a player trades with a villager or wandering traderclass
class
Called when the player tries to attack an entity. -
Uses of Event in io.papermc.paper.event.server
Modifier and TypeClassDescriptionclass
Called when resources such as datapacks are reloaded (e.g.class
This event gets called when the whitelist status of a player is changed -
Uses of Event in io.papermc.paper.event.world
Modifier and TypeClassDescriptionclass
Called before a set of configured structures is located.class
Called when a world's gamerule is changed, either by command or by api. -
Uses of Event in io.papermc.paper.event.world.border
Modifier and TypeClassDescriptionclass
Called when a world border changes its bounds, either over time, or instantly.class
Called when a moving world border has finished its move.class
Called when a world border's center is changed.class
-
Uses of Event in org.bukkit.event.block
Modifier and TypeClassDescriptionclass
Called when a bell resonated after being rung and highlights nearby raiders.class
Called when a bell is being rung.class
Called when a block is broken by a player.class
Called when a block is destroyed as a result of being burnt by fire.class
Called when we try to place a block, to see if we can build it here or not.class
Called when an ItemStack is successfully cooked in a block.class
Called when a player stops damaging a Block.class
Called when a block is damaged by a player.class
Called when an equippable item is dispensed from a block and equipped on a nearby entity.class
Called when an item is dispensed from a block.class
Called when a block dispenses loot from its designated LootTable.class
Called after a block is broken by a player and potential drops are computed, even if said blocks loot table does not define any drops at the point the event is constructed.class
Represents a block related event.class
An event that's called when a block yields experience.class
Called when a block explodes.class
Called when a block fades, melts or disappears based on world conditionsclass
Called with the block changes resulting from a player fertilizing a given block with bonemeal.class
Called when a block is formed or spreads based on world conditions.class
Represents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.class
Called when a block grows naturally in the world.class
Called when a block is ignited.class
Fired when a single block placement action of a player triggers the creation of multiple blocks(e.g.class
Thrown when a block physics check is called.class
Called when a piston block is triggeredclass
Called when a piston extendsclass
Called when a piston retractsclass
Called when a block is placed by a player.class
Called when a Sculk sensor receives a game event and hence might activate.class
Called when a redstone current changesclass
Event fired when a dispenser shears a nearby sheep.class
Called when a block spreads based on world conditions.class
Called when a brewing stand starts to brew.class
Called when a Campfire starts to cook.class
class
Event called when a Crafter is about to craft an item.class
Called when a block is formed by entities.class
Called when the fluid level of a block changes due to changes in adjacent blocks.class
Used when: A Furnace starts smeltingFurnaceStartSmeltEvent
A Brewing-Stand starts brewingBrewingStartEvent
A Campfire starts cookingCampfireStartEvent
class
Called when leaves are decaying naturally.class
Called when the moisture level of a soil block changes.class
Called when a note block is being played through player interaction or a redstone current.class
Represents an event triggered when a new cursor is created by aSculkCatalyst
.class
Called when a sign is changed by a player.class
Called when a sponge absorbs water from the world.class
Called when a block of TNT in the world become primed.class
Called when a vault in a trial chamber is about to display an item. -
Uses of Event in org.bukkit.event.command
Modifier and TypeClassDescriptionclass
Thrown when a player executes a command that is not defined -
Uses of Event in org.bukkit.event.enchantment
Modifier and TypeClassDescriptionclass
Called when an ItemStack is successfully enchanted (currently at enchantment table)class
Called when an ItemStack is inserted in an enchantment table - can be called multiple times -
Uses of Event in org.bukkit.event.entity
Modifier and TypeClassDescriptionclass
Called when a lingering potion applies its effects.class
Called when an arrow enters or exists an entity's body.class
Called when a bat attempts to sleep or wake up from its slumber.class
Called when a creature is spawned into a world.class
Called when a Creeper is struck by lightning.class
Called when an EnderDragon switches controller phase.class
Called when the amount of air an entity has remaining changes.class
Called when anEntity
breaks a doorclass
Called when one Entity breeds with another Entity.class
Called when any Entity changes a block and a more specific event is not available.class
Called when a block causes an entity to combust.class
Called when an entity causes another entity to combust.class
Called when an entity combusts.class
Deprecated.class
Called when an entity is damaged by a blockclass
Called when an entity is damaged by an entityclass
Stores data for damage eventsclass
Thrown whenever a LivingEntity diesclass
Called when an entity stops riding another entity.class
Thrown when an entity creates an item drop.class
Called when anEntity
enters a block and is stored in that block.class
Called when an entity enters love mode.class
Represents an Entity-related eventclass
Called when a human entity experiences exhaustion.class
Called when an entity explodes interacting with blocks.class
Called when an entity interacts with an objectclass
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Called when an entity attempts to ride another entity.class
Thrown when an entity picks an item up from the groundclass
Triggered when an entity is created in the world by a player "placing" an item on a block.class
Called when an entity comes into contact with a portalclass
Called when a non-player entity is about to teleport because it is in contact with a portal.class
Called before an entity exits a portal.class
Called when an entity changes its pose.class
Called when a potion effect is modified on an entity.class
Stores data for health-regain eventsclass
Deprecated, for removal: This API element is subject to removal in a future version.useEntityRemoveFromWorldEvent
insteadclass
Called when an entity dies and may have the opportunity to be resurrected.class
Called when a LivingEntity shoots a bow firing an arrowclass
Called when an entity is spawned into a world.class
Called when aSpellcaster
casts a spell.class
Thrown when a LivingEntity is tamedclass
Called when a creature targets or untargets another entityclass
Called when an Entity targets aLivingEntity
and can only target LivingEntity's.class
Thrown when a non-player entity is teleported from one location to another.class
Sent when an entity's gliding status is toggled with an Elytra.class
Sent when an entity's swimming status is toggled.class
Called when an entity is about to be replaced by another entity.class
Called immediately prior to an entity being unleashed.class
Called when a ThrownExpBottle hits and releases experience.class
Called when an entity has made a decision to explode.class
Called when a firework explodes.class
Called when a human entity's food level changesclass
Called when a horse jumps.class
This event is called when aItem
is removed from the world because it has existed for 5 minutes.class
class
Called when an item is spawned into a worldclass
Called when a splash potion hits an areaclass
Stores all data related to the bartering interaction with a piglin.class
Stores data for pigs being zappedclass
Called when a Pig Zombie is angered by another entity.class
Thrown whenever aPlayer
diesclass
Called immediately prior to a creature being leashed by a player.class
Called when a splash potion hits an areaclass
Called when a projectile hits an objectclass
Called when a projectile is launched.class
Called when a sheep's wool is dyedclass
Called when a sheep regrows its woolclass
Called when a Slime splits into smaller Slimes upon deathclass
Called when an entity is spawned into a world by a spawner.class
Called when aStrider
's temperature has changed as a result of entering or exiting blocks it considers warm.class
Called when an entity is spawned into a world by a trial spawner.class
Called whenever a villager acquires a new trade.class
class
Called when aVillager
is about to restock one of its trades. -
Uses of Event in org.bukkit.event.hanging
Modifier and TypeClassDescriptionclass
Triggered when a hanging entity is removed by an entityclass
Triggered when a hanging entity is removedclass
Represents a hanging entity-related event.class
Triggered when a hanging entity is created in the world -
Uses of Event in org.bukkit.event.inventory
Modifier and TypeClassDescriptionclass
Called when the brewing of the contents inside the Brewing Stand is complete.class
Called when an ItemStack is about to increase the fuel level of a brewing stand.class
Called when the recipe of an Item is completed inside a crafting matrix.class
Called when an ItemStack is successfully burned as fuel in a furnace-like block such as aFurnace
,Smoker
, orBlastFurnace
.class
This event is called when a player takes items out of a furnace-like block such as aFurnace
,Smoker
, orBlastFurnace
.class
Called when an ItemStack is successfully smelted in a furnace-like block such as aFurnace
,Smoker
, orBlastFurnace
.class
Called when any of the furnace-like blocks start smelting.class
Event that gets called each time a Hopper attempts to find its source/attached containers.class
This event is called when a player clicks in an inventory.class
This event is called when a player closes an inventory.class
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
This event is called when the player drags an item in their cursor across the inventory.class
Represents a player related inventory eventclass
An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.class
Called when some entity or block (e.g.class
Called when a player opens an inventoryclass
Called when a hopper or hopper minecart picks up a dropped item.class
Called when an item is put in a slot for repair by an anvil.class
Called when an item is put in a slot for repair or unenchanting in a grindstone.class
Deprecated.class
class
Called when an item is put in a slot for upgrade by a Smithing Table.class
Called when the recipe of an Item is completed inside a smithing table.class
This event is called whenever a player clicks a new trade on the trades sidebar. -
Uses of Event in org.bukkit.event.player
Modifier and TypeClassDescriptionclass
Deprecated.useAsyncChatEvent
insteadclass
Deprecated.chat previews have been removedclass
Stores details for players attempting to log in.class
Called when a player has completed all criteria in an advancement.class
Represents a player animation event
UsePlayerArmSwingEvent
for determining which arm was swung.class
Called when a player interacts with an armor stand and will either swap, retrieve or place an item.class
Thrown when a player attempts to pick an item up from the groundclass
This event is fired when the player is almost about to enter the bed.class
This event is fired when the player is leaving a bed.class
Called when a player empties a bucketclass
This event is called whenever a player captures an entity in a bucket.class
Called when a player interacts with a Bucketclass
Called when a player fills a bucketclass
Deprecated.Use the more genericPlayerBucketEntityEvent
class
Called when a player changes their main hand in the client settings.class
Called when a player switches to another world.class
This event is called after a player registers or unregisters a new plugin channel.class
Deprecated.Listening to this event forces chat to wait for the main thread, delaying chat messages.class
Deprecated.This event is no longer fired due to client changesclass
This event is called whenever a player runs a command (by placing a slash at the start of their message).class
This event is called when the list of available server commands is sent to the player.class
Thrown when a player drops an item from their inventoryclass
Called when a player edits or signs a book and quill item.class
Called when a player throws an egg and it might hatchclass
Represents a player related eventclass
Called when a players experience changes naturallyclass
Called when a player's experience cooldown changes.class
Thrown when a player is fishingclass
Called when the GameMode of the player is changed.class
This event is called whenever a player harvests a block.class
Called when a visible entity is hidden from a player.class
This event is called when a player sends updated input to the server.class
Represents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.class
Represents an event that is called when a player right clicks an entity.class
Represents an event that is called when a player interacts with an object or air, potentially fired once for each hand.class
Fired when a player's item breaks (such as a shovel or flint and steel).class
This event will fire when a player is finishing consuming an item (food, potion, milk bucket).class
Called when an item used by the player takes durability damage as a result of being used.class
Fired when a player changes their currently held itemclass
Represents when a player has an item repaired via the Mending enchantment.class
Called when a player joins a serverclass
Called when a player gets kicked from the serverclass
Called when a players level changesclass
This event is called when the list of links is sent to the player.class
Called when a player changes their locale in the client settings.class
Stores details for players attempting to log in.class
Holds information for player movement eventsclass
Thrown when a player picks up an arrow from the ground.class
Deprecated.class
Called when a player is about to teleport because it is in contact with a portal which will generate an exit portal.class
Deprecated.This event causes synchronization from the login thread;AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads asynchronous.class
Called when a player leaves a serverclass
Deprecated, for removal: This API element is subject to removal in a future version.class
Called when a player changes recipe book settings.class
Called when a player discovers a new recipe in the recipe book.class
This is called immediately after a player registers for a plugin channel.class
Called when a player takes action on a resource pack request.class
Called when a player respawns.class
This event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.class
Called when a player shears an entityclass
Called when a hidden entity is shown to a player.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Called when a player statistic is incremented.class
Called when a player swap items between main hand and off hand using the hotkey.class
This event is called when a player clicks the button to take a book of a Lectern.class
Holds information for player teleport eventsclass
Called when a player toggles their flying stateclass
Called when a player toggles their sneaking stateclass
Called when a player toggles their sprinting stateclass
Called prior to an entity being unleashed due to a player's action.class
This is called immediately after a player unregisters for a plugin channel.class
Called when the velocity of a player changes. -
Uses of Event in org.bukkit.event.raid
Modifier and TypeClassDescriptionclass
Represents events related to raids.class
This event is called when aRaid
was complete with a clear result.class
Called when a raid wave spawns.class
Called when aRaid
is stopped.class
Called when aRaid
is triggered (e.g: a player with Bad Omen effect enters a village). -
Uses of Event in org.bukkit.event.server
Modifier and TypeClassDescriptionclass
Event triggered for server broadcast messages such as fromServer.broadcast(net.kyori.adventure.text.Component)
(String, String)}.class
Called when a map is initialized.class
Called when a plugin is disabled.class
Called when a plugin is enabled.class
Used for plugin enable and disable eventsclass
This event is called when a command is received over RCON.class
This event is called when a command is run by a non-player.class
Miscellaneous server eventsclass
Called when a server list ping is coming in.class
This event is called when either the server startup or reload has completed.class
An event relating to a registered service.class
This event is called when a service is registered.class
This event is called when a service is unregistered.class
Called when aCommandSender
of any description (ie: player or console) attempts to tab complete. -
Uses of Event in org.bukkit.event.vehicle
Modifier and TypeClassDescriptionclass
Raised when a vehicle collides with a block.class
Raised when a vehicle collides.class
Raised when a vehicle is created.class
Raised when a vehicle receives damage.class
Raised when a vehicle is destroyed, which could be caused by either a player or the environment.class
Raised when an entity enters a vehicle.class
Raised when a vehicle collides with an entity.class
Represents a vehicle-related event.class
Raised when a living entity exits a vehicle.class
Raised when a vehicle moves.class
Called when a vehicle updates -
Uses of Event in org.bukkit.event.weather
Modifier and TypeClassDescriptionclass
Stores data for lightning strikingclass
Stores data for thunder state changing in a worldclass
Stores data for weather changing in a worldclass
Represents a Weather-related event -
Uses of Event in org.bukkit.event.world
Modifier and TypeClassDescriptionclass
This event will sometimes fire synchronously, depending on how it was triggered.class
Called when aStructure
is naturally generated in the world.class
Represents a Chunk related eventclass
Called when a chunk is loadedclass
Thrown when a newly generated chunk has finished being populated.class
Called when a chunk is unloadedclass
Called when entities are loaded.class
Called when entities are unloaded.class
Represents a generic Mojang game event.class
Called when aLootTable
is generated in the world for anInventoryHolder
.class
Called when a portal is createdclass
An event that is called when a world's spawn changes.class
Event that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.class
Called when the time skips in a world.class
Represents events within a worldclass
Called when a World is initializing.class
Called when a World is loadedclass
Called when a World is saved.class
Called when a World is unloaded -
Uses of Event in org.bukkit.plugin
Modifier and TypeMethodDescriptionPluginLoader.createRegisteredListeners
(@NotNull Listener listener, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.Creates and returns registered listeners for the event classes used in this listenerTimedRegisteredListener.getEventClass()
Gets the class of the events this listener handled.Modifier and TypeMethodDescriptionvoid
Calls an event with the given detailsvoid
Calls the event executorvoid
Deprecated, for removal: This API element is subject to removal in a future version.Calls an event with the given details.void
void
Modifier and TypeMethodDescriptionstatic @NotNull EventExecutor
void
PluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin) Registers the specified executor to the given event classvoid
PluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled) Registers the specified executor to the given event classvoid
SimplePluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
SimplePluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled) Deprecated, for removal: This API element is subject to removal in a future version.Registers the given event to the specified listener using a directly passed EventExecutor -
Uses of Event in org.bukkit.plugin.java
-
Uses of Event in org.spigotmc.event.player
Modifier and TypeClassDescriptionclass
Called when player is about to spawn in a world after joining the server.
TNTPrimeEvent