Package org.bukkit.event.player
package org.bukkit.event.player
-
ClassDescriptionThis event will sometimes fire synchronously, depending on how it was triggered.Stores details for players attempting to log in.Called when a player has completed all criteria in an advancement.Represents a player animation eventCalled 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.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.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 the
AsyncPlayerChatEvent
.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 naturallyThrown when a player is fishingCalled when the GameMode of the player is changed.This event is called whenever a player harvests a block.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 changesCalled when a player changes their locale in the client settings.Stores details for players attempting to log in.Holds 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.Called when a player leaves a serverCalled 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)
.Called when a player respawns.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 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. -
EnumDescriptionBasic kick reasons for communicating to pluginsDifferent types of player animationsRepresents the default possible outcomes of this event.An enum to specify the state of the fishingBasic kick reasons for communicating to pluginsBasic kick reasons for communicating to pluginsStatus of the resource pack.
PlayerBucketEntityEvent