Package org.bukkit.event.player
package org.bukkit.event.player
-
ClassDescriptionThis event will sometimes fire synchronously, depending on how it was triggered.Deprecated.chat previews have been removedStores details for players attempting to log in.Basic kick reasons for communicating to pluginsCalled when a player has completed all criteria in an advancement.Represents a player animation eventDifferent types of player animationsCalled when a player interacts with an armor stand and will either swap, retrieve or place an item.This event is fired when the player is almost about to enter the bed.Represents the default possible outcomes of this event.This event is fired when the player is leaving a bed.Called when a player empties a bucketThis event is called whenever a player captures an entity in a bucket.Called when a player interacts with a BucketCalled when a player fills a bucketDeprecated.Use the more generic
PlayerBucketEntityEvent
Called when a player changes their main hand in the client settings.Called when a player switches to another world.This event is called after a player registers or unregisters a new plugin channel.Deprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent
.Deprecated.This event is no longer fired due to client changesThis event is called whenever a player runs a command (by placing a slash at the start of their message).This event is called when the list of available server commands is sent to the player.Thrown when a player drops an item from their inventoryCalled when a player edits or signs a book and quill item.Called when a player throws an egg and it might hatchRepresents a player related eventCalled when a players experience changes naturallyCalled when a player's experience cooldown changes.Thrown when a player is fishingAn enum to specify the state of the fishingCalled when the GameMode of the player is changed.This event is called whenever a player harvests a block.Called when a visible entity is hidden from a player.This event is called when a player sends updated input to the server.Represents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.Represents an event that is called when a player right clicks an entity.Represents an event that is called when a player interacts with an object or air, potentially fired once for each hand.Fired when a player's item breaks (such as a shovel or flint and steel).This event will fire when a player is finishing consuming an item (food, potion, milk bucket).Called when an item used by the player takes durability damage as a result of being used.Fired when a player changes their currently held itemRepresents when a player has an item repaired via the Mending enchantment.Called when a player joins a serverCalled when a player gets kicked from the serverCalled when a players level changesThis event is called when the list of links is sent to the player.Called when a player changes their locale in the client settings.Stores details for players attempting to log in.Basic kick reasons for communicating to pluginsHolds information for player movement eventsThrown when a player picks up an arrow from the ground.Deprecated.Called when a player is about to teleport because it is in contact with a portal which will generate an exit portal.Deprecated.This event causes synchronization from the login thread;AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads asynchronous.Basic kick reasons for communicating to pluginsCalled when a player leaves a serverCalled when a player clicks a recipe in the recipe book.Called when a player changes recipe book settings.Enum representing the various types of recipe book.Called when a player discovers a new recipe in the recipe book.This is called immediately after a player registers for a plugin channel.Called when a player takes action on a resource pack request sent viaPlayer.setResourcePack(java.lang.String)
.Status of the resource pack.Called when a player respawns.An enum to specify the reason a respawn event was called.This event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.Called when a player shears an entityCalled when a hidden entity is shown to a player.This event is fired when a sign is opened by the player.This event is fired when the spawn point of the player is changed.Called when a player statistic is incremented.Called when a player swap items between main hand and off hand using the hotkey.This event is called when a player clicks the button to take a book of a Lectern.Holds information for player teleport eventsCalled when a player toggles their flying stateCalled when a player toggles their sneaking stateCalled when a player toggles their sprinting stateCalled prior to an entity being unleashed due to a player's action.This is called immediately after a player unregisters for a plugin channel.Called when the velocity of a player changes.