Spigot-API 1.19.4-R0.1-SNAPSHOT API
Bukkit, the plugin development framework.
The documentation is for developing plugins and is split into the respective packages for each subject matter. This documentation does not cover running a server, contributing code back to the project, or setting up a workspace. Working knowledge of the Java language is a prerequisite for developing plugins.
For basic plugin development, see the
package. It covers the basic requirements of a plugin jar.
For handling events and triggered code, see the
Note: While the Bukkit API makes every effort to ensure stability, this is not guaranteed, especially across major versions. In particular the following is a (incomplete) list of things that are not API.
- Implementing interfaces. The Bukkit API is designed to only be
implemented by server software. Unless a class/interface is obviously
designed for extension (eg
BukkitRunnable), or explicitly marked as such, it should not be implemented by plugins. Although this can sometimes work, it is not guaranteed to do so and resulting bugs will be disregarded.
- Constructing inbuilt events. Although backwards compatibility is attempted where possible, it is sometimes not possible to add new fields to events without breaking existing constructors. To ensure that the API continues to evolve, event constructors are therefore not plugin API.
- Implementation classes. Concrete implementation classes packaged with Bukkit (eg those beginning with Simple) are not API. You should access them via their interfaces instead.
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to advancements.
Classes relevant to attributes.
Classes used to manipulate the voxels in a
world, including special states.
Classes relevant to banner blocks.
Generalized BlockData classes.
Specific BlockData classes relevant to only a given block or set of blocks.
Classes relevant to structure blocks.
Classes concerning the creation of boss bars that appear at the top of the player's screen.
Classes relating to handling specialized non-chat player input.
Commands for emulating the Minecraft commands and other necessary ones for use by a Bukkit implementation.
Classes dedicated to handling a plugin's runtime configuration.
Classes dedicated to facilitating
configurationsto be read and stored on the filesystem.
Classes dedicated to being able to perform serialization specialized for the Bukkit
Classes dedicated to facilitate direct player-to-plugin communication.
Classes relating to the specialized enhancements to
item stacks, as part of the
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.
Classes concerning an entity's persistent memory.
Interfaces for various
Classes dedicated to handling triggered code executions.
Eventstriggered from an
entities that hang.
Eventsrelated to raids.
Eventsrelating to programmatic state changes on the server.
Eventsrelating to weather.
Classes to facilitate
Classes to facilitate world
Classes used to manipulate the default command and topic assistance system.
Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
Classes that allow attaching custom data to items.
New location for recipe-related classes.
Classes relevant to loot table manipulation and generation.
Classes to facilitate plugin handling of
Classes that represents various voxel types and states.
Classes relevant to specific material types.
Classes dedicated to providing a layer of plugin specified data on various Minecraft concepts.
Classes dedicated to providing binary state properties to players.
Classes that allow attaching persistent data to various objects.
Classes specifically relating to loading software modules at runtime.
Classes for handling
pluginswritten in java.
Classes dedicated to specialized plugin to client protocols.
Classes to represent various
potionproperties and manipulation.
Classes relevant to player profiles.
Classes to represent the source of a projectile
Classes dedicated to letting
pluginsrun code at specific time intervals, including thread safety.
Interfaces used to manage the client side score display system.
Classes related to creating or using
Structure blocksin the world.
Multi and single purpose classes to facilitate various programmatic concepts.
Classes used to facilitate stream processing for specific Bukkit concepts.
Classes dedicated to facilitating deterministic noise.
Static methods for miscellaneous
Spigot-specific entity events.
Spigot-specific player events.