All Classes and Interfaces
Class
Description
Represents an arrow.
Deprecated.
Represents the pickup status of this arrow.
An abstract implementation of a chat event, handling shared logic.
Represents a Horse-like creature.
An interface to the inventory of an
AbstractHorse
.This interface defines or represents the abstract concept of skeleton-like
entities on the server.
Represents a villager NPC
Represents a Wind Charge.
Represents an acacia boat.
Represents an acacia chest boat.
Represents an advancement that may be awarded to a player.
Describes the display of an advancement.
Deprecated, for removal: This API element is subject to removal in a future version.
Defines how the
AdvancementDisplay.icon()
appears in the advancements screen and
the color used with the advancement name
.Deprecated, for removal: This API element is subject to removal in a future version.
The individual status of an advancement for a player.
The list of requirements for the advancement.
'age' represents the different growth stages that a crop-like block can go
through.
Represents an entity that can age.
An Allay.
Represents an ambient mob
'power' represents the redstone power level currently being emitted or
transmitted via this block.
Represents an Animal.
Called when an anvil is damaged from being used
Represents the amount of damage on an anvil block
Interface to the inventory of an Anvil.
Called when a player takes the result item out of an anvil
Called when anvil slots change, triggering the result slot to be updated
An instance of
InventoryView
which provides extra methods related to
anvil view data.Represents an area effect cloud which will imbue a potion effect onto
entities which enter it.
Called when a lingering potion applies its effects.
An
ArgumentResolver
is capable of resolving
an argument value using a CommandSourceStack
.Vanilla Minecraft includes several custom
ArgumentType
s that are recognized by the client.Represents an Armadillo.
Represents armor that an entity can equip.
Represents types of locking mechanisms for ArmorStand equipment.
Represents an armor trim that may be applied to an item.
Called when an arrow enters or exists an entity's body.
Represents the art on a painting.
This event is fired when the server decorates a component for chat purposes.
An event fired when a
Player
sends a chat message to the server.Deprecated.
use
AsyncChatEvent
insteadDeprecated.
chat previews have been removed
Stores details for players attempting to log in.
Basic kick reasons for communicating to plugins
Fired any time a Brigadier RootCommandNode is generated for a player to inform the client of commands.
Called when sending
Suggestions
to the client.Scheduler that may be used by plugins to schedule tasks to execute asynchronously from the server tick process.
This event will sometimes fire synchronously, depending on how it was
triggered.
Called when a
Structure
is naturally generated in the world.Allows plugins to compute tab completion results asynchronously.
A rich tab completion, consisting of a string suggestion, and a nullable
Component
tooltip.'attached' denotes whether a tripwire hook or string forms a complete
tripwire circuit and is ready to trigger.
Indicates that a block can be attached to another block
Represents an object which may contain attributes.
Types of attributes which may be present on an
Attributable
.Represents a mutable instance of an attribute and its associated modifiers
and values.
Vanilla keys for
RegistryKey.ATTRIBUTE
.Concrete implementation of an attribute modifier.
Enumerable operation to be applied.
Represents a mutually perpendicular axis in 3D Cartesian coordinates.
An Axolotl.
Represents the variant of a axolotl - ie its color.
Represents a bucket of axolotl.
'leaves' represents the size of the leaves on this bamboo block.
Bamboo leaf size.
Represents a bamboo chest raft.
Represents a bamboo raft.
A single entry from a ban list.
A ban list, containing bans of some
BanList.Type
.Deprecated.
use
BanListType
to enforce the correct return value at compile time.Represents a ban-type that a
BanList
may track.Represents a captured state of a banner.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Vanilla keys for
RegistryKey.BANNER_PATTERN
.Holds the layers of patterns on a banner.
Builder for
BannerPatternLayers
.Vanilla keys for
RegistryKey.BANNER_PATTERN
.Represents a captured state of a Barrel.
Represents a basic entity spawner.
Implementing this interface allows for easily creating "Bukkit-style"
String[] args
commands.Represents a Bat
Called when a bat attempts to sleep or wake up from its slumber.
Represents a captured state of a beacon.
Called when a beacon is activated.
Called when a beacon is deactivated, either because its base block(s) or itself were destroyed.
Called when a beacon effect is being applied to a player.
Interface to the inventory of a Beacon.
An instance of
InventoryView
which provides extra methods related to
beacon view data.Represents a captured state of a bed.
Similar to
Bisected
, 'part' denotes which half of the bed this block
corresponds to.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Horizontal half of a bed.
Represents a Bee.
Called when a bee targets a flower
Represents a captured state of a bee hive.
'honey_level' represents the amount of honey stored in the hive.
Called when a bee starts pollinating
Called when a bee stops pollinating
Represents a captured state of Bell.
'attachment' denotes how the bell is attached to its block.
What the bell is attached to.
Called when a bell resonated after being rung and highlights nearby raiders.
Deprecated.
Deprecated.
use
BellRingEvent
Called when a bell is being rung.
'tilt' indicates how far the leaf is tilted.
The tilt of a leaf.
Holds all accepted Biomes in the server.
Vanilla keys for
RegistryKey.BIOME
.Represents the biome noise parameters which may be passed to a world
generator.
Class for providing biomes.
Holds the result of searching for a biome.
Vanilla keys for
RegistryKey.BIOME
.Represents a birch boat.
Represents a birch chest boat.
'half' denotes which half of a two block tall material this block is.
The half of a vertically bisected block.
Represents a captured state of a blast furnace.
Represents a campfire recipe.
Represents a Blaze monster
Represents a block.
Called when a block forces another block to break and drop items.
Called when a block is broken by a player.
Called when the progress of a block break is updated.
Called when a block is destroyed as a result of being burnt by fire.
Called when we try to place a block, to see if we can build it here or not.
A delegate for handling block changes.
Called when an ItemStack is successfully cooked in a block.
Called when a player stops damaging a Block.
Called when a block is damaged by a player.
Fired anytime the server intends to 'destroy' a block through some triggering reason.
Called when an equippable item is dispensed from a block and equipped on a
nearby entity.
Called when an item is dispensed from a block.
Called when a block dispenses loot from its designated LootTable.
Represents a block display entity.
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.
Represents a block related event.
An event that's called when a block yields experience.
Called when a block explodes.
Represents the face of a block
Called when a block fades, melts or disappears based on world conditions
Called when a block tries to dispense an item, but its inventory is empty.
Called with the block changes resulting from a player fertilizing a given
block with bonemeal.
Called when a block is formed or spreads based on world conditions.
Represents events with a source block and a destination block, currently
only applies to liquid (lava and water) and teleporting dragon eggs.
Called when a block grows naturally in the world.
Called when a block is ignited.
An enum to specify the cause of the ignite
Represents a block inventory holder - either a BlockState, or a regular
Block.
Holds the
BlockData
properties of a block item.Builder for
BlockItemDataProperties
.This class performs ray tracing and iterates along blocks on a line
Called when the server tries to check the lock on a lockable block entity.
Fired when a single block placement action of a player triggers the
creation of multiple blocks(e.g.
Thrown when a block physics check is called.
Called when a piston block is triggered
Called when a piston extends
Called when a piston retracts
Called when a block is placed by a player.
A block populator is responsible for generating a small area of blocks.
A position represented with integers.
An
ArgumentResolver
that's capable of resolving
a block position argument value using a CommandSourceStack
.Called when a Sculk sensor receives a game event and hence might activate.
Called when a redstone current changes
Event fired when a dispenser shears a nearby sheep.
Deprecated, for removal: This API element is subject to removal in a future version.
use
SoundGroup
Called when a block spreads based on world conditions.
Represents a captured state of a block, which will not change
automatically.
Represents a level of support a block can give on one of its faces.
A BlockTransformer is used to modify blocks that are placed by structure.
The TransformationState allows access to the original block state and the
block state of the block that was at the location of the transformation
in the world before the transformation started.
While this API is in a public interface, it is not intended for use by
plugins until further notice.
Typed represents a subtype of
BlockType
s that have a known block
data type at compile time.Vanilla keys for
RegistryKey.BLOCK
.Vanilla keys for
RegistryKey.BLOCK
.A vector with a hash function that floors the X, Y, Z components, a la
BlockVector in WorldEdit.
Represents a boat entity.
Represents the status of the boat.
Deprecated.
different boats types are now different entity types
Represents a Bogged Skeleton.
Represents a
Material.WRITTEN_BOOK
that can have a title, an author,
and pages.Represents the generation (or level of copying) of a written book
BooleanPrompt is the base class for any prompt that requires a boolean
response from the user.
Represents the context provided to a
PluginBootstrap
during both the bootstrapping and plugin
instantiation logic.Represents the Boss Entity.
A mutable axis aligned bounding box (AABB).
Represents an entity that can age and breed.
Represents a Breeze.
Represents a Wind Charge.
Interface to the inventory of a Brewing Stand.
Called when the brewing of the contents inside the Brewing Stand is
complete.
Represents a captured state of a brewing stand.
Interface to the 'has_bottle_0', 'has_bottle_1', 'has_bottle_2' flags on a
brewing stand which indicate which bottles are rendered on the outside.
Called when an ItemStack is about to increase the fuel level of a brewing
stand.
An instance of
InventoryView
which provides extra methods related to
brewing stand view data.Called when a brewing stand starts to brew.
Event triggered for server broadcast messages such as from
Server.broadcast(net.kyori.adventure.text.Component)
(String, String)}.'dusted' represents how far uncovered by brush the block is.
Represents a captured state of suspicious sand or gravel.
'drag' indicates whether a force will be applied on entities moving through
this block.
Represents an entity that can be bucketed.
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Represents the Bukkit core, for version and Server singleton handling
Deprecated, for removal: This API element is subject to removal in a future version.
For removal, see
Commands
on how to use the new Brigadier API.Deprecated, for removal: This API element is subject to removal in a future version.
For removal, see
Commands
on how to use the new Brigadier API.Deprecated.
Object streams on their own are not safe.
Deprecated.
Object streams on their own are not safe.
This class is provided as an easy way to handle scheduling tasks.
Represents a task being executed by the scheduler
Represents a worker thread for the scheduler.
Holds all items stored inside of a Bundle.
Builder for
BundleContents
.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
This is a cached version of a server-icon.
'bites' represents the amount of bites which have been taken from this slice
of cake.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a captured state of a calibrated sculk sensor
Represents a Camel.
Represents a captured state of a campfire.
'signal_fire' denotes whether the fire is extra smokey due to having a hay
bale placed beneath it.
Represents a campfire recipe.
Called when a Campfire starts to cook.
A type characterizing events that may be cancelled by a plugin or the server.
'candles' represents the number of candles which are present.
Interface to the inventory of a Cartography table.
Called when the recipe of an Item is completed inside a cartography table.
Meow.
Represents the various different cat types there are.
Vanilla keys for
RegistryKey.CAT_VARIANT
.Vanilla keys for
RegistryKey.CAT_VARIANT
.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a Spider.
'berries' indicates whether the block has berries.
Thrown if a Plugin Channel is too long.
Thrown if a Plugin attempts to send a message on an unregistered channel.
Holds all projectiles that have been loaded into a Crossbow.
Builder for
ChargedProjectiles
.Deprecated.
ChatColor has been deprecated in favor of Adventure API.
Deprecated.
Listening to this event forces chat to wait for the main thread, delaying chat messages.
The ChatPaginator takes a raw string of arbitrary length and breaks it down
into an array of strings appropriate for displaying on the Minecraft player
console.
A chat renderer is responsible for rendering chat messages sent by
Player
s to the server.Similar to
ChatRenderer
, but without knowledge of the message viewer.Represents a cherry boat.
Represents a cherry chest boat.
Represents a captured state of a chest.
'type' represents which part of a double chest this block is, or if it is a
single chest.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Type of this chest block.
A
Boat
with a chest.Represents Horse-like creatures which can carry an inventory.
Represents a Chicken.
Represents a captured state of a chiseled bookshelf.
Interface to the 'slot_0_occupied', 'slow_1_occupied' ...
Interface to the inventory of a chiseled bookshelf.
Represents a chunk of blocks.
An enum to specify the load level of a chunk.
Represents a Chunk related event
A chunk generator is responsible for the initial shaping of an entire
chunk.
Deprecated.
Biomes are now set with
BiomeProvider
Data for a Chunk.
Called when a chunk is loaded
Thrown when a newly generated chunk has finished being populated.
Represents a static, thread-safe snapshot of chunk of blocks.
Called when a chunk is unloaded
The class loader access interface is an internal representation of a class accesses' ability to see types
from other
ConfiguredPluginClassLoader
.The classpath library interface represents libraries that are capable of registering themselves via
ClassPathLibrary.register(LibraryStore)
on any given LibraryStore
.What the client did to trigger this action (not the result).
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a cod fish.
Entities that can have their collars colored.
A container for a color palette.
An object that can be colored.
Represents armor that an entity can equip and can also be colored.
Represents a Command, which executes various tasks upon user input
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a captured state of a command block.
'conditional' denotes whether this command block is conditional or not, i.e.
Thrown when an unhandled exception occurs during the execution of a Command
Represents a class which contains a single method for executing commands
Deprecated.
For removal, use the new brigadier api.
A
CommandRegistrationFlag
is used in Commands
registration for internal purposes.The registrar for custom commands.
The command source type for Brigadier commands registered using Paper API.
Represents a captured state of an on / off comparator.
'mode' indicates what mode this comparator will operate in.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
The mode in which a comparator will operate in.
Represents a compass that can track a specific location.
Represents a single part of a
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller
parts
Represents a complex recipe which has imperative server-defined behavior, eg
armor dyeing.
Called when an item is about to be composted by a hopper.
Represents a captured state of a conduit.
Represents a source of configurable options and settings
Various settings for controlling the input and output of a
Configuration
Represents a section of a
Configuration
Represents an object that may be serialized.
Utility class for storing and retrieving classes for
Configuration
.The configured plugin class loader represents an internal abstraction over the classloaders used by the server
to load and access a plugins classes during runtime.
Holds the properties for this item for when it is consumed.
Builder for
Consumable
.Effect that occurs when consuming an item.
Represents a consumable effect that applies effects based on a probability on consumption.
Represents a consumable effect that clears all effects on consumption.
Represents a consumable effect that plays a sound on consumption.
Represents a consumable effect that removes status effects on consumption
Deprecated.
Use
Consumer
insteadRepresents a captured state of a container block.
The Conversable interface is used to indicate objects that can have
conversations.
The Conversation class is responsible for tracking the current state of a
conversation, displaying prompts to the user, and dispatching the user's
response to the appropriate place.
ConversationAbandonedEvent contains information about an abandoned
conversation.
A ConversationCanceller is a class that cancels an active
Conversation
.A ConversationContext provides continuity between nodes in the prompt graph
by giving the developer access to the subject of the conversation and a
generic map for storing values that are shared between all
Prompt
invocations.A ConversationFactory is responsible for creating a
Conversation
from a predefined template.A ConversationPrefix implementation prepends all output from the
conversation to the player.
Represents categories within the cooking recipe book.
Represents a cooking recipe.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a Cow.
Represents a captured state of a crafter.
'orientation' is the direction the block is facing.
The directions the Crafter can be oriented.
Event called when a Crafter is about to craft an item.
Interface to the inventory of a Crafter.
An instance of
InventoryView
which provides extra methods related to
crafter view data.Represents categories within the crafting recipe book.
Interface to the crafting inventories
Represents a shaped or shapeless crafting recipe.
Called when the recipe of an Item is completed inside a crafting matrix.
Represents a Creaking.
Represents a captured state of a creaking heart.
'active' is whether the block is active.
Represents a category in the creative inventory.
Represents a Creature.
Represents a captured state of a creature spawner.
Called when a creature is spawned into a world.
An enum to specify the type of spawning
Represents a Creeper
Called when a Creeper is ignited either by a
flint and steel,
Creeper.ignite()
or
Creeper.setIgnited(boolean)
.Called when a Creeper is struck by lightning.
An enum to specify the cause of the change in power
Represents a scoreboard criteria, either custom or built-in to the Minecraft server, used to
keep track of and manually or automatically change scores on a scoreboard.
Deprecated.
use the constants declared in
Criteria
insteadDeprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
An argument type that wraps around a native-to-vanilla argument type.
An argument type that wraps around a native-to-vanilla argument type.
Deprecated.
this API part has been replaced by the
PersistentDataHolder
API.Holds the custom model data.
Builder for
CustomModelData
.Represents a component which adds custom model data.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents an
Entity
that has health and can take damage.Represents an item that has durability and can take damage.
Represents a type of effect that occurs when damage is inflicted.
Holds the contents of damage types that the item entity containing this item is invincible to.
A means of damage scaling with respect to the server's difficulty.
Represents a source of damage.
Utility class to make building a
DamageSource
easier.Represent a type of damage that an entity can receive.
Vanilla keys for
RegistryKey.DAMAGE_TYPE
.Vanilla keys for
RegistryKey.DAMAGE_TYPE
.Vanilla
DamageType
tags
.Represents a dark oak boat.
Represents a dark oak chest boat.
Base builder type for all component builders.
All the different types of data that
ItemStacks
and ItemTypes
can have.This is a snapshot of a datapack on the server.
Deprecated, for removal: This API element is subject to removal in a future version.
use
Datapack
Show the compatibility of the data pack with the server.
Represent the source of a data pack.
Deprecated, for removal: This API element is subject to removal in a future version.
use
DatapackManager
Source of a datapack.
'inverted' denotes whether this daylight detector is in the inverted mode,
i.e.
Represents a captured state of a (possibly inverted) daylight detector.
Represents a type of death message used by a
DamageSource
.Sets whether this item should protect the entity upon death, and what effects should be played.
Builder for
DeathProtection
.Represents a captured state of a decorated pot.
A side on a decorated pot.
Interface to the inventory of a DecoratedPot.
Applies to a
ConfigurationSerializable
that will delegate all
deserialization to another ConfigurationSerializable
.A dependency context is a read-only abstraction of a type/concept that can resolve dependencies between plugins.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents the various difficulty levels that are available.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
'facing' represents the face towards which the block is pointing.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Similar to
Powerable
, 'triggered' indicates whether or not the
dispenser is currently activated.Represents a captured state of a dispenser.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a display entity which is designed to only have a visual function.
Describes the axes/points around which the entity can pivot.
Represents the brightness rendering parameters of the entity.
Locations for displaying objectives to the player
Represents a Donkey - variant of
ChestedHorse
.Annotation used to mark methods or constructors which should not be called.
'hinge' indicates which hinge this door is attached to and will rotate around
when opened.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
The hinge of a door.
Represents a double chest.
Interface to the inventory of a Double Chest.
A provider for a
Range
of doubles.Represents a dragon battle state for a world with an end environment.
Represents a phase in the dragon respawn process.
Called when the
EnderDragon
is defeated (killed) in a DragonBattle
,
causing a Material.DRAGON_EGG
(more formally: BlockGrowEvent.getNewState()
)
to possibly appear depending on BlockGrowEvent.isCancelled()
.Represents the effect of a drag that will be applied to an Inventory in an
InventoryDragEvent.
Represents a captured state of a dropper.
Drowned zombie.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
All supported color values for dyes and cloth
Represents a color applied to a dyeable item.
Builder for
DyedItemColor
.A list of effects that the server is able to send to players.
Deprecated.
not representative of what Effect does
Represents a thrown egg.
Represents an ElderGuardian - variant of
Guardian
.Is called when an
ElderGuardian
appears in front of a Player
.Holds if an item is enchantable, allowing for enchantments of the type to be seen in an enchanting table.
Interface to the inventory of an Enchantment Table.
Represents a captured state of an enchanting table.
Called when an ItemStack is successfully enchanted (currently at
enchantment table)
The various type of enchantments that may be added to armour or weapons
Vanilla keys for
RegistryKey.ENCHANTMENT
.A class for the available enchantment offers in the enchantment table.
Deprecated, for removal: This API element is subject to removal in a future version.
Enchantments do not have a "rarity" since 1.20.5
A data-centric version-specific registry entry for the
Enchantment
type.A mutable builder for the
EnchantmentRegistryEntry
plugins may change in applicable registry events.The enchantment cost interface represents the cost of applying an enchantment, split up into its different components.
EnchantmentMeta is specific to items that can store enchantments, as
opposed to being enchanted.
Vanilla keys for
RegistryKey.ENCHANTMENT
.Represents the applicable target for a
Enchantment
An instance of
InventoryView
which provides extra methods related to
enchantment table view data.Deprecated.
only for backwards compatibility, EnchantmentWrapper is no longer used.
Represents a captured state of an ender chest.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
A crystal that heals nearby EnderDragons
Represents an Ender Dragon
Represents a phase or action that an Ender Dragon can perform.
Called when an EnderDragon switches controller phase.
Fired when a DragonFireball collides with a block/entity and spawns an AreaEffectCloud
Fired when an EnderDragon spawns an AreaEffectCloud by shooting flames
Represents an ender dragon part
Fired when an EnderDragon shoots a fireball
Represents an Enderman.
Fired when an Enderman determines if it should attack a player or not.
Represents a thrown Ender Pearl entity
Represents an EnderSignal, which is created upon throwing an ender eye.
Represents a captured state of an end gateway.
'eye' denotes whether this end portal frame has been activated by having an
eye of ender placed in it.
Represents an Enemy
Called when entities are loaded.
Called when entities are unloaded.
Represents a base entity in the world
Fired any time an entity is being added to the world for any reason (including a chunk loading).
Called when the amount of air an entity has remaining changes.
Called when a block is formed by entities.
Represents a captured state of a block which stores entities.
Called when an
Entity
breaks a doorCalled when one Entity breeds with another Entity.
A classification of entities which may behave differently than others or be
affected uniquely by enchantments and potion effects among other things.
Called when any Entity changes a block and a more specific event is not available.
Called when a block causes an entity to combust.
Called when an entity causes another entity to combust.
Called when an entity combusts.
Called when an item is about to be composted by an entity.
Deprecated.
Called when an entity is damaged by a block
Called when an entity is damaged by an entity
Stores data for damage events
An enum to specify the cause of the damage
Deprecated.
This API is responsible for a large number of implementation
problems and is in general unsustainable to maintain.
Called when an item on or used by an entity takes durability damage as a result of being hit/used.
Thrown whenever a LivingEntity dies
Called when an entity stops riding another entity.
Thrown when an entity creates an item drop.
Called when an entity is dyed.
A list of all Effects that can happen to entities.
Called when an
Entity
enters a block and is stored in that block.Called when an entity enters love mode.
An interface to a creatures inventory
Represents an Entity-related event
Called when a human entity experiences exhaustion.
The reason for why a PlayerExhaustionEvent takes place
Called when an entity explodes interacting with blocks.
Called when two entities mate and the mating process results in a fertilization.
Called when an entity enters the hitbox of a block.
Called when an entity interacts with an object
Called when an entity jumps
Fired when an Entity is knocked back by the hit of another Entity.
Deprecated, for removal: This API element is subject to removal in a future version.
Called when an entity receives knockback.
Deprecated, for removal: This API element is subject to removal in a future version.
An enum to specify the cause of the knockback.
An enum to specify the cause of the knockback.
Called when a LivingEntity loads a crossbow with a projectile.
Called when an entity attempts to ride another entity.
Holds information for living entity movement events
Fired when an Entity decides to start moving towards a location.
Thrown when an entity picks an item up from the ground
Triggered when an entity is created in the world by a player "placing" an item
on a block.
Called when an entity comes into contact with a portal
Called when a non-player entity is about to teleport because it is in
contact with a portal.
Called before an entity exits a portal.
Called when an entity is ready to be teleported by a plugin.
Called when an entity changes its pose.
Called when a potion effect is modified on an entity.
An enum to specify the action to be performed.
An enum to specify the cause why an effect was changed.
Fired when an entity is pushed by another entity's attack.
Stores data for health-regain events
An enum to specify the type of health regaining that is occurring
Deprecated, for removal: This API element is subject to removal in a future version.
use
EntityRemoveFromWorldEvent
insteadRepresents various ways an entity gets removed.
Fired any time an entity is being removed from a world for any reason (including a chunk unloading).
Called when an entity dies and may have the opportunity to be resurrected.
An entity can move between worlds with an arbitrary tick delay, be temporarily removed
for players (i.e end credits), be partially removed from world state (i.e inactive but not removed),
teleport between ticking regions, teleport between worlds, and even be removed entirely from the server.
An
ArgumentResolver
that's capable of resolving
an entity selector argument value using a CommandSourceStack
.Called when a LivingEntity shoots a bow firing an arrow
Represents an immutable copy of an entity's state.
Called when an entity is spawned into a world.
Called when a
Spellcaster
casts a spell.All tags in this class are unmodifiable, attempting to modify them will throw an
UnsupportedOperationException
.Thrown when a LivingEntity is tamed
Called when a creature targets or untargets another entity
An enum to specify the reason for the targeting
Called when an Entity targets a
LivingEntity
and can only target
LivingEntity's.Fired any time an entity attempts to teleport in an end gateway
Thrown when a non-player entity is teleported from one location to another.
Fired when an entity is hindered from teleporting.
Reason for hindrance in teleports.
Sent when an entity's gliding status is toggled with an Elytra.
Is called when an entity sits down or stands up.
Sent when an entity's swimming status is toggled.
A EntityTransformer is used to modify entities that are spawned by structure.
Called when an entity is about to be replaced by another entity.
Called immediately prior to an entity being unleashed.
Fired when lightning strikes an entity
Represents a group of
EquipmentSlot
.Holds the equippable properties of an item.
Builder for
Equippable
.Represents a component which can turn any item into equippable armor.
EulerAngle is used to represent 3 angles, one for each
axis (x, y, z).
Represents an event.
Interface which defines the class for event call backs to plugins
An annotation to mark methods as being event handler methods
Represents an event's priority in execution.
Represents an Evoker "Illager".
Deprecated.
future versions of Minecraft have additional spell casting
entities.
Represents Evoker Fangs.
An ExactMatchConversationCanceller cancels a conversation if the user
enters an exact input string
This event is called whenever someone runs a command
Called when a ThrownExpBottle hits and releases experience.
Represents an Experience Orb.
Reasons for why this Experience Orb was spawned
Fired anytime the server is about to merge 2 experience orbs into one
Called when an entity has made a decision to explode.
Represents the outcome of an explosion.
A representation of an explosive entity
Represents a Minecart with TNT inside it that can explode when triggered.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
'face' represents the face to which a lever or button is stuck.
The face to which a switch type block is stuck.
Represents a falling block
A specific subtype of
FluidData
that is returned by the API for fluid data of potentially falling fluids.The 'moisture' level of farmland indicates how close it is to a water source
(if any).
Implemented by types in built-in registries that are controlled by
FeatureFlags
.This represents a Feature Flag for a
FeatureFlagSetHolder
.This is a base class for all File based implementations of
Configuration
Various settings for controlling the input and output of a
FileConfiguration
Class containing file utilities
Fired once a profiles additional properties (such as textures) has been filled
Denotes that this type is filterable by the client, and may be shown differently
depending on the player's set configuration.
A position represented with doubles.
An
ArgumentResolver
that's capable of resolving
a fine position argument value using a CommandSourceStack
.md_5's mixtape.
Represents a Fireball.
Represents a single firework effect.
This is a builder for FireworkEffects.
The type or shape of the effect.
Represents a meta that can store a single FireworkEffect.
Called when a firework explodes.
Represents a
Material.FIREWORK_ROCKET
and its effects.Stores all explosions crafted into a Firework Rocket, as well as flight duration.
Builder for
Fireworks
.Represents a fish entity.
Represents a fishing hook.
Represents a state in which a fishing hook may be.
A scoreboard number format that replaces the score number with a chat component.
A FixedMetadataValue is a special case metadata item that contains the same
value forever after initialization.
FixedSetPrompt is the base class for any prompt that requires a fixed set
response from the user.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
A specific subtype of
FluidData
that is returned by the API for fluid data of potentially falling fluids.Represents a fluid type.
Determines the collision behavior when fluids get hit during ray tracing.
A representation of a fluid in a specific state of data.
Vanilla keys for
RegistryKey.FLUID
.Called when the fluid level of a block changes due to changes in adjacent
blocks.
Vanilla keys for
RegistryKey.FLUID
.Represents a Flying Entity.
Represents a component which can turn any item into food.
Called when a human entity's food level changes
Holds the food properties of an item.
Builder for
FoodProperties
.What does the fox say?
Represents the various different fox types there are.
Represents an
Entity
that can experience friction with the air and ground.A Frog.
Represents the variant of a frog - ie its color.
Vanilla keys for
RegistryKey.FROG_VARIANT
.Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Represents a captured state of a furnace.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Called when an ItemStack is successfully burned as fuel in a furnace-like block such as a
Furnace
, Smoker
, or
BlastFurnace
.This event is called when a player takes items out of a furnace-like block such as a
Furnace
, Smoker
, or
BlastFurnace
.Interface to the inventory of a Furnace.
Represents a furnace recipe.
Called when an ItemStack is successfully smelted in a furnace-like block
such as a
Furnace
, Smoker
,
or BlastFurnace
.Called when any of the furnace-like blocks start smelting.
An instance of
InventoryView
which provides extra methods related to
furnace view data.Represents a generic Mojang game event.
Vanilla keys for
RegistryKey.GAME_EVENT
.A data-centric version-specific registry entry for the
GameEvent
type.A mutable builder for the
GameEventRegistryEntry
plugins may change in applicable registry events.Vanilla keys for
RegistryKey.GAME_EVENT
.Represents the various type of game modes that
HumanEntity
s may
haveGameRules dictate certain behavior within Minecraft itself
For more information please visit the Minecraft Wiki
For more information please visit the Minecraft Wiki
'in_wall' indicates if the fence gate is attached to a wall, and if true the
texture is lowered by a small amount to blend in better.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Used to mark classes which are generated from
a specific version of minecraft.
Represents a structure placed in the world.
Lacking an alternative, the help system will create instances of
GenericCommandHelpTopic for each command in the server's CommandMap.
Represents a generic Mojang game event.
Represents a Ghast.
Represents a Giant.
The global region task scheduler may be used to schedule tasks that will execute on the global region.
A Glow Item Frame.
A Glow Squid.
Represents an AI goal of an entity
Used to identify a Goal.
Represents the subtype of a goal.
A Goat.
Called when a goat rams an entity
A mechanical creature that may harm enemies.
Deprecated, for removal: This API element is subject to removal in a future version.
use
BlockData
Interface to the inventory of a Grindstone.
Called when a player takes the result item out of a Grindstone
This event is fired if server is getting queried over GS4 Query protocol.
A builder for
GS4QueryEvent.QueryResponse
objects.Plugin information
The type of query
A list of event handlers, stored per-event.
'hanging' denotes whether the lantern is hanging from a block.
Represents a Hanging entity
Triggered when a hanging entity is removed by an entity
Triggered when a hanging entity is removed
An enum to specify the cause of the removal
Represents a hanging entity-related event.
'tip' indicates whether this block is a tip.
Triggered when a hanging entity is created in the world
Represents a captured state of a hanging sign.
'hatch' is the number of entities which may hatch from these eggs.
Further information regarding heightmaps.
The HelpMap tracks all help topics registered in a Bukkit server.
HelpTopic implementations are displayed to the user when the user uses the
/help command.
Used to impose a custom total ordering on help topics.
A HelpTopicFactory is used to create custom
HelpTopic
objects from
commands that inherit from a common base class or have executors that
inherit from a common base class.Represents a Hoglin.
Similar to
Powerable
, 'enabled' indicates whether or not the hopper
is currently activated.Represents a captured state of a hopper.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Event that gets called each time a Hopper attempts to find its
source/attached containers.
Represents a Minecart with a Hopper inside it
Represents a Horse.
Represents the base color that the horse has.
Represents the style, or markings, that the horse has.
Deprecated.
different variants are differing classes
An interface to the inventory of a Horse.
Called when a horse jumps.
Represents a human entity, such as an NPC or a player
Represents a Husk - variant of
Zombie
.Represents a type of "Illager".
Deprecated.
Not used
Thrown when a plugin attempts to interact with the server when it is not
enabled
Represents an Illusioner "Illager".
An InactivityConversationCanceller will cancel a
Conversation
after
a period of inactivity by the user.This help topic generates a list of other help topics.
Represents a movement input applied to an entity.
Vanilla keys for
RegistryKey.INSTRUMENT
.Vanilla keys for
RegistryKey.INSTRUMENT
.A provider for a
Range
of integers.Represents an entity designed to only record interactions.
Represents a previous interaction with this entity.
Exception thrown when attempting to load an invalid
Configuration
Thrown when attempting to load an invalid PluginDescriptionFile
Thrown when attempting to load an invalid Plugin file
Interface to the various inventories.
An estimation of what the result will be.
Used when:
A Furnace starts smelting
FurnaceStartSmeltEvent
A Brewing-Stand starts brewing BrewingStartEvent
A Campfire starts cooking CampfireStartEvent
This event is called when a player clicks in an inventory.
This event is called when a player closes an inventory.
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.
This event is called when the player drags an item in their cursor across
the inventory.
Represents a player related inventory event
An abstract base class for events that describe an interaction between a
HumanEntity and the contents of an Inventory.
Called when some entity or block (e.g.
Called when a player opens an inventory
Called when a hopper or hopper minecart picks up a dropped item.
Represents the different kinds of inventories available in Bukkit.
Represents a view linking two inventories and a single player (whose
inventory may or may not be one of the two).
Deprecated, for removal: This API element is subject to removal in a future version.
use
InventoryView
and its childrenA
BanList
targeting IP bans.An iron Golem that protects Villages.
Represents a dropped item.
Controls which blocks a player in Adventure mode can do a certain action with this item.
Builder for
ItemAdventurePredicate
.Holds the trims applied to an item.
Builder for
ItemArmorTrim
.Holds attribute modifiers applied to any item.
Builder for
ItemAttributeModifiers
.Holds an attribute entry.
Holds the contents of an item container.
Container class containing the results of a Crafting event.
This event is called when a
Item
is removed from
the world because it has existed for 5 minutes.Represents an item display entity.
Represents the item model transform to be applied to the displayed item.
Stores a list of enchantments and their levels on an item.
Builder for
ItemEnchantments
.An instance of the ItemFactory can be obtained with
Server.getItemFactory()
.A ItemFlag can hide some Attributes from ItemStacks
Represents an Item Frame
Additional lines to include in an item's tooltip.
Builder for
ItemLore
.This type represents the storage mechanism for auxiliary item data.
Deprecated, for removal: This API element is subject to removal in a future version.
use
ItemRarity
with ItemMeta.getRarity()
A item's rarity determines the default color of its name.
Called when an item is spawned into a world
Represents a stack of items.
A predicate for ItemStack.
Deprecated.
this API part has been replaced by
PersistentDataHolder
.Deprecated.
please use
PersistentDataType
as this part of the api is being replacedA default implementation that simply exists to pass on the retrieved or
inserted value to the next layer.
While this API is in a public interface, it is not intended for use by
plugins until further notice.
Typed represents a subtype of
ItemType
s that have a known item meta type
at compile time.Vanilla keys for
RegistryKey.ITEM
.Vanilla keys for
RegistryKey.ITEM
.Represents the hand animation that is used when a player is consuming this item.
A simple jar library implementation of the
ClassPathLibrary
that allows PluginLoader
s to
append a jar stored on the local file system into their runtime classloader.Represents a Java plugin and its main class.
Deprecated, for removal: This API element is subject to removal in a future version.
'orientation' is the direction the block is facing.
Represents a captured state of a jigsaw.
The directions the Jigsaw can be oriented.
Deprecated, for removal: This API element is subject to removal in a future version.
Simply stores a key and a value, used internally by many methods below.
'has_record' is a quick flag to check whether this jukebox has a record
inside it.
Represents a captured state of a jukebox.
Interface to the inventory of a Jukebox.
Holds the jukebox song for an item.
Builder for
JukeboxPlayable
.Represents a component which can be inserted into a jukebox.
Represents a song which may play in a Jukebox.
Vanilla keys for
RegistryKey.JUKEBOX_SONG
.Represents a jungle boat.
Represents a jungle chest boat.
Represents an object which has a
NamespacedKey
attached to it.Represents a custom
BossBar
that has a
NamespacedKey
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a language that can translate translation keys
Represents a large
Fireball
The LazyMetadataValue class implements a type of metadata that is not
computed until another plugin asks for it.
Describes possible caching strategies for metadata.
Represents an entity that can be leashed.
Represents a Leash Hitch on a fence
Represents leather armor (
Material.LEATHER_BOOTS
, Material.LEATHER_LEGGINGS
, Material.LEATHER_CHESTPLATE
, Material.LEATHER_HELMET
, Material.LEATHER_HORSE_ARMOR
or Material.WOLF_ARMOR
) that can be colored.'persistent' indicates whether or not leaves will be checked by the server to
see if they are subject to decay or not.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Called when leaves are decaying naturally.
'has_book' is a quick flag to check whether this lectern has a book inside
it.
Represents a captured state of a lectern.
Interface to the inventory of a Lectern.
An instance of
InventoryView
which provides extra methods related to
lectern view data.'level' represents the amount of fluid contained within this block, either by
itself or inside a cauldron.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Indicates that an exception has occured while loading a library.
Represents a storage that stores library jars.
Base type for all Lifecycle Events.
A handler for a specific event.
Base type for constructing configured event handlers for
lifecycle events.
Manages a plugin's lifecycle events.
Implemented by types that are considered owners
of registered handlers for lifecycle events.
Holds various types of lifecycle events for
use when creating event handler configurations
in
LifecycleEventManager
.Base type for all types of lifecycle events.
Lifecycle event type that supports separate registration
of handlers as "monitors" that are run last.
Lifecycle event type that supports both
"monitors"
and
specific numeric-based priorities.'lit' denotes whether this block (either a redstone torch or furnace) is
currently lit - that is not burned out.
Represents an instance of a lightning strike.
Deprecated.
Unsupported api
Stores data for lightning striking
A limited region is used in world generation for features which are
going over a chunk.
Deprecated, for removal: This API element is subject to removal in a future version.
should not be used for anything, use
ThrownPotion
and
set the potion via the methods there.Called when a splash potion hits an area
Simple interface for tagging all EventListeners
The list persistent data represents a data type that is capable of storing a
list of other data types in a
PersistentDataContainer
.A provider for list persistent data types that represent the known primitive
types exposed by
PersistentDataType
.Represents a living entity, such as a monster or player
Represents a Llama.
Represents the base color that the llama has.
An interface to the inventory of a
Llama
.Called when a Llama tries to join a caravan.
Called when a Llama leaves a caravan
Represents Llama spit.
Deprecated, for removal: This API element is subject to removal in a future version.
Due to java stuff, you will need to cast it to (Function) for some cases
Deprecated, for removal: This API element is subject to removal in a future version.
Due to java stuff, you will need to cast it to (Function) for some cases
Represents a 3-dimensional position in a world.
Represents a block (usually a container) that may be locked.
Interface for tile entities that are lockable.
If present, specifies the target Lodestone that a Compass should point towards.
Builder for
LodestoneTracker
.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents what part of the entity should be used when determining where to face a position/entity.
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.
Interface to the inventory of a Loom.
An instance of
InventoryView
which provides extra methods related to
loom view data.Represents an Inventory that can generate loot, such as Chests inside of Fortresses and Mineshafts
Represents an Inventory that can generate loot, such as Minecarts inside of Mineshafts
Represents an Inventory that contains a Loot Table associated to it that will
automatically fill on first open.
Represents additional information a
LootTable
can use to modify it's
generated loot.Utility class to make building
LootContext
easier.Called when a
LootTable
is generated in the world for an
InventoryHolder
.LootTables are technical files that represent what items should be in
naturally generated containers, what items should be dropped when killing a
mob, or what items can be fished.
This enum holds a list of all known
LootTable
s offered by Mojang.Represents a MagmaCube.
Represents the chosen main hand of a player
Represents a mangrove boat.
Represents a mangrove chest boat.
The ManuallyAbandonedConversationCanceller is only used as part of a
ConversationAbandonedEvent
to indicate that the conversation was manually
abandoned by programmatically calling the abandon() method on it.Represents a canvas for drawing to a map.
Represents a cursor on a map.
Represents the standard types of map cursors.
Represents all the map cursors on a
MapCanvas
.Holds a list of markers to be placed on a Filled Map (used for Explorer Maps).
Builder for
MapDecorations
.Decoration present on the map.
Vanilla keys for
RegistryKey.MAP_DECORATION_TYPE
.Represents a bitmap font drawable to a map.
Represents the graphics for a single character in a MapFont.
References the shared map state holding map contents and markers for a Filled Map.
Called when a map is initialized.
Represents the tint of the decorations on the Filled Map item.
Represents a map that can be scalable.
Represents the palette that map items use.
Holds cached information for matching map colors of a given RBG color.
Represents a renderer for a map.
Represents a map item.
An enum representing all possible scales a map can be set to.
A Marker entity, exists only on the server.
An enum of all material IDs accepted by the official server and client
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a collection tags to identify materials that share common properties.
The maven library resolver acts as a resolver for yet to be resolved jar libraries that may be pulled from a
remote maven repository.
This is a
Configuration
implementation that does not save or load
from any source, and stores all values in memory only.Various settings for controlling the input and output of a
MemoryConfiguration
Represents a key used for accessing memory values of a
LivingEntity
.A type of
ConfigurationSection
that is stored in memory.Represents different kinds of views, also known as menus, which can be
created and viewed by the player.
Typed represents a subtype of
MenuType
s that have a known
InventoryView
type at compile time.Vanilla keys for
RegistryKey.MENU
.Represents a merchant.
Represents a trading inventory between a player and a merchant.
Represents a merchant's trade.
An instance of
InventoryView
which provides extra methods related to
merchant view data.Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
A component serializer for converting between
Message
and Component
.MessagePrompt is the base class for any prompt that only displays a message
to the user and requires no input.
Thrown if a Plugin Message is sent that is too large to be sent.
A class responsible for managing the registrations of plugin channels and
their listeners.
This interface is implemented by all objects that can provide metadata
about themselves.
A MetadataConversionException is thrown any time a
LazyMetadataValue
attempts to convert a metadata value to an inappropriate
data type.A MetadataEvaluationException is thrown any time a
LazyMetadataValue
fails to evaluate its value due to an exception.Optional base class for facilitating MetadataValue implementations.
Represents a minecart entity.
Indicates that the annotated element (class, method, field, etc.) is part of a
minecraft experimental feature
and is subject to changes by Mojang.
An enum identifying a feature flag required by a
MinecraftExperimental
feature.Represents the built-in Minecraft font.
Represents how a
Structure
can be mirrored upon
being loaded.Represents a Mob.
Vanilla keys for
RegistryKey.MOB_EFFECT
.Represents a part of the "brain" of a mob.
Called when the moisture level of a soil block changes.
Handler configuration for event types that allow "monitor" handlers.
Represents a Monster.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
This class encompasses the 'north', 'east', 'south', 'west', height flags
which are used to set the height of a face.
The different heights a face may have.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a Mule - variant of
ChestedHorse
.Represents a command that delegates to one or more other commands
This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down'
boolean flags which are used to set which faces of the block textures are
displayed on.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated.
use BlockData
Represents a mushroom
Cow
Represents the variant of a cow - ie its color.
Represents a block, entity, or other object that may receive a custom name.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a String based key which consists of two components - a namespace
and a key.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated.
replaced by
Team.OptionStatus
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a client connected to the server.
Base class for all noise generators
A note class to store a specific note.
An enum holding tones.
'instrument' is the type of sound made when this note block is activated.
Called when a note block is being played through player interaction or a
redstone current.
Represents a non-player character
NullConversationPrefix is a
ConversationPrefix
implementation that
displays nothing in front of conversation output.Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Utils for casting number types to other number types
Describes a scoreboard number format that applies custom formatting to scoreboard scores.
NumericPrompt is the base class for any prompt that requires a
Number
response from the user.Represents an oak boat.
Represents an oak chest boat.
An objective on a scoreboard that can show scores specific to entries.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
A wild tameable cat
Deprecated.
Cats are now a separate entity.
Creates noise using unbiased octaves
Represents a reference to a player identity and the data belonging to a
player that is stored on the disk and can, thus, be retrieved without the
player needing to be online.
Deprecated, for removal: This API element is subject to removal in a future version.
only for backwards compatibility.
Holds the ominous bottle amplifier.
Represents an ominous bottle with an amplifier of the bad omen effect.
Represents an ominous item spawner.
'open' denotes whether this block is currently opened.
Deprecated, for removal: This API element is subject to removal in a future version.
'axis' represents the axis along whilst this block is oriented.
Represents a Painting.
Vanilla keys for
RegistryKey.PAINTING_VARIANT
.A data-centric version-specific registry entry for the
Art
type.A mutable builder for the
PaintingVariantRegistryEntry
plugins may change in applicable registry events.Vanilla keys for
RegistryKey.PAINTING_VARIANT
.Represents an pale oak boat.
Represents an pale oak chest boat.
Represent a variation of a structure.
Panda entity.
Deprecated, for removal: This API element is subject to removal in a future version.
for removal.
The plugin classloader storage is an internal type that is used to manage existing classloaders on the server.
Paper API-specific methods for working with
Component
s and related.Prevents plugins (e.g.
Extended version of
ServerListPingEvent
that allows full control
of the response sent to the client.Represents a player that will be displayed in the player sample of the server list.
Represents a Parrot.
Represents the variant of a parrot - ie its color.
Options which can be applied to dust particles - a particle
color and size.
Options which can be applied to a color transitioning dust particles.
Options which can be applied to trail particles - a location, color and duration.
Helps prepare a particle to be sent to players.
Handles pathfinding operations for an Entity
Represents the result of a pathfinding calculation
Generates noise using the "classic" perlin generator
Creates perlin noise through unbiased octaves
Represents an object that may be assigned permissions
Base Permissible for use in any Permissible object via proxy or extension
Represents a unique permission that may be attached to a
Permissible
Holds information about a permission attachment on a
Permissible
objectHolds information on a permission and which
PermissionAttachment
provides itRepresents the possible default values for permissions
A permission manager implementation to keep backwards compatibility partially alive with existing plugins that used
the bukkit one before.
Represents a class which is to be notified when a
PermissionAttachment
is removed from a Permissible
This interface represents the context in which the
PersistentDataType
can
serialize and deserialize the passed values.This interface represents a map like object, capable of storing custom tags
in it.
This represents a view of a persistent data container.
The
PersistentDataHolder
interface defines an object that can store
custom persistent meta data on it.This class represents an enum with a generic content type.
A convenience implementation to convert between Byte and Boolean as there is
no native implementation for booleans.
A default implementation that simply exists to pass on the retrieved or
inserted value to the next layer.
The
PersistentDataViewHolder
interface defines an object that can view
custom persistent data on it.Represents a phantom.
Called when a phantom is spawned for an exhausted player
Represents a Pig.
Represents a Piglin.
Piglin / Piglin Brute.
Stores all data related to the bartering interaction with a piglin.
Represents a Piglin Brute.
Stores data for pigs being zapped
Represents a Pig Zombie.
Called when a Pig Zombie is angered by another entity.
Illager entity.
'flower_amount' represents the number of petals.
'extended' denotes whether the piston head is currently extended or not.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
'short' denotes this piston head is shorter than the usual amount because it
is currently retracting.
Represents how a block or entity will react when interacting with a piston
when it is extending or retracting.
Represents a player, connected or not
Called after a player is granted a criteria in an advancement.
Called when a player has completed all criteria in an advancement.
Represents a player animation event
Use
Use
PlayerArmSwingEvent
for determining which arm was swung.Different types of player animations
Called when the player themselves change their armor items
Called when a player interacts with an armor stand and will either swap, retrieve or
place an item.
Called when processing a player's attack on an entity when the player's attack strength cooldown is reset
Thrown when a player attempts to pick an item up from the ground
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 tries to bypass book limitations
Called when a player empties a bucket
This event is called whenever a player captures an entity in a bucket.
Called when a player interacts with a Bucket
Called when a player fills a bucket
Deprecated.
Use the more generic
PlayerBucketEntityEvent
Called when a player sets the effect for a beacon
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.
Listening to this event forces chat to wait for the main thread, delaying chat messages.
Deprecated.
This event is no longer fired due to client changes
Is called when a
Player
receives a chunk unload packet.Called when the player changes their client settings
This 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.
This event is invoked when a player has disconnected.
Thrown whenever a
Player
diesCalled when a player has slept long enough
to count as passing the night/storm.
Thrown when a player drops an item from their inventory
Called when a player edits or signs a book and quill item.
Called when a player throws an egg and it might hatch
Fired when a player boosts elytra flight with a firework
Represents a player related event
Called when a players experience changes naturally
Called when a player's experience cooldown changes.
Runs when a player attempts to move, but is prevented from doing so by the server
Thrown when a player is fishing
An enum to specify the state of the fishing
Called when a player places an item in or takes an item out of a flowerpot.
Called when the GameMode of the player is changed.
This event is fired during a player handshake.
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.
This event is called when a player clicks on a lectern to insert a book.
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.
Interface to the inventory of a Player, including the four armor slots and any extra slots.
Called when a slot contents change in a player's inventory.
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).
Fired when a player receives an item cooldown when using an item.
Called when an item used by the player takes durability damage as a result of
being used.
Called when an
ItemFrame
is having an item rotated, added, or removed from it.Fired when a player receives an item cooldown.
Fired when a player changes their currently held item
Represents when a player has an item repaired via the Mending enchantment.
Called when a player joins a server
Called when the server detects the player is jumping.
Called when a player gets kicked from the server
Called when a player shoots a projectile.
Called immediately prior to a creature being leashed by a player.
Called when a players level changes
This 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 plugins
Called when a player selects a banner patten in a loom inventory.
Holds information for player movement events
Called when the player is attempting to rename a mob
PlayerNamePrompt is the base class for any prompt that requires the player
to enter another player's name.
Fired when the server is calculating what chunks to try to spawn monsters in every Monster Spawn Tick event
Called when a player begins editing a sign's text.
The cause of the
PlayerOpenSignEvent
.Event that is fired when a player uses the pick item functionality (middle-clicking a block or entity to get the
appropriate item).
Thrown when a player picks up an arrow from the ground.
Fired when a player is attempting to pick up an experience orb
Deprecated.
Called when a player is about to teleport because it is in contact with a
portal which will generate an exit portal.
Fired after a player has respawned
Deprecated.
This event causes synchronization from the login thread;
AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads
asynchronous.Basic kick reasons for communicating to plugins
Represents a players profile for the game, such as UUID, Name, and textures.
Deprecated.
see
PlayerProfile
An
ArgumentResolver
that's capable of resolving
argument value using a CommandSourceStack
.Called when a player trades with a standalone merchant GUI.
Called when a player leaves a server
Called when a player is firing a bow and the server is choosing an arrow to use.
Called when a player clicks a recipe in the recipe book
Deprecated, for removal: This API element is subject to removal in a future version.
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.
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.
An
ArgumentResolver
that's capable of resolving
a player selector argument value using a CommandSourceStack
.Called when a player's spawn is set, either by themselves or otherwise.
Called when a player uses sheers on a block.
Called when a player shears an entity
Called whenever a players shield is disabled due to an attack from another entity that was capable of disabling the
shield.
Called when a hidden entity is shown to a player.
Called when a
Player
clicks a side on a sign that causes a command to run.Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Called when player is about to spawn in a world after joining the server.
Triggered when a player starts spectating an entity in spectator mode.
Called when a player statistic is incremented.
Triggered when a player stops spectating an entity in spectator mode.
Called when the server detects a player stopping using an item.
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.
Fired when a teleport is triggered for an End Gateway
Holds information for player teleport events
Provides access to the textures stored inside a
PlayerProfile
.The different Minecraft skin models.
Called when a player toggles their flying state
Called when a player toggles their sneaking state
Called when a player toggles their sprinting state
Called when a player trades with a villager or wandering trader
Called prior to an entity being unleashed due to a player's action.
This is called immediately after a player unregisters for a plugin channel.
Represents an event that is called when a player right-clicks an unknown entity.
Called when the velocity of a player changes.
Represents a Plugin
Represents a concept that a plugin is aware of.
Each entry here represents a particular plugin's awareness.
Represents a base
Plugin
A plugin bootstrap is meant for loading certain parts of the plugin before the server is loaded.
Represents the different directions a plugin channel may go.
A ClassLoader for plugins, to allow shared classes across multiple plugins
A plugin classloader group represents a group of classloaders that a plugins classloader may access.
A mutable builder that may be used to collect and register all
ClassPathLibrary
instances a
PluginLoader
aims to provide to its plugin at runtime.Represents a
Command
belonging to a pluginThis type is the runtime-container for the information in the plugin.yml.
Called when a plugin is disabled.
Called when a plugin is enabled.
Used for plugin enable and disable events
This interface is used by the help system to group commands into
sub-indexes based on the
Plugin
they are a part of.A plugin loader is responsible for creating certain aspects of a plugin before it is created.
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the order in which a plugin should be initialized and enabled
The PluginLogger class is a modified
Logger
that prepends all
logging calls with the name of the plugin doing the logging.Handles all plugin management from the Server
A listener for a specific Plugin Channel, which will receive notifications
of messages sent from a client.
Contains information about a
Plugin
s registration to a plugin
channel.Represents a possible recipient for a Plugin Message.
This class acts as an abstraction for a plugin configuration.
PluginNameConversationPrefix is a
ConversationPrefix
implementation
that displays the plugin name in front of conversation output.Represents the context provided to a
PluginBootstrap
during both the bootstrapping and plugin
instantiation logic.Deprecated, for removal: This API element is subject to removal in a future version.
'thickness' represents the dripstone thickness.
Represents the thickness of the dripstone, corresponding to its position
within a multi-block dripstone formation.
Represents a polar bear.
Called when a portal is created
An enum to specify the various reasons for a portal's creation
Represents various types of portals that can be made in a world.
Represents an entity body pose.
Common interface for
FinePosition
and BlockPosition
.Registrar for tags after they have been flattened.
Holds the item types for the decorations on a flower pot.
Builder for
PotDecorations
.Used to manage custom
PotionMix
s.Holds the contents of a potion (Potion, Splash Potion, Lingering Potion), or potion applied to a Tipped Arrow.
Deprecated, for removal: This API element is subject to removal in a future version.
Upgraded / extended potions are now their own
PotionType
use them instead.Represents a potion effect, that can be added to a
LivingEntity
.Represents a type of potion and its effect on an entity.
Category of
PotionEffectType
sRepresents a category of
PotionEffectType
and its effect on an entity.Deprecated.
only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
Represents a potion or item that can have custom effects.
Represents a potion mix made in a Brewing Stand.
Called when a splash potion hits an area
This enum reflects and matches each potion state that can be obtained from
the Creative mode inventory
Deprecated.
Do not use, interface will get removed, and the plugin won't run
'powered' indicates whether this block is in the powered state or not, i.e.
Represents a powered minecart.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Called before a block's explosion is processed
WARNING: This event only fires for a limited number of cases, and not for every case that
CreatureSpawnEvent
does.Called before an entity's explosion is processed
Fired when the server is requesting to fill in properties of an incomplete profile, such as textures.
Registrar for tags before they are flattened.
Allows a plugin to intercept a Profile Lookup for a Profile by name
Called when an item is put in a slot for repair by an anvil.
Deprecated.
Called when an item is put in a slot for repair or unenchanting in a grindstone.
Deprecated.
Called when an ItemStack is inserted in an enchantment table - can be
called multiple times
Called when an item is put in an inventory containing a result slot
Called when an item is put in a slot for upgrade by a Smithing Table.
Called when the player tries to attack an entity.
Called before an entity is spawned into a world by a spawner.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Handler configuration that allows both "monitor" and prioritized handlers.
A
BanList
targeting player profile bans.Represents a property on a
PlayerProfile
Fires when the server needs to verify if a player is whitelisted.
Represents a shootable entity.
Deprecated.
Deprecated, use
ProjectileHitEvent
and check if there is a hit entityCalled when a projectile hits an object
Called when a projectile is launched.
Represents a valid source of a projectile.
A Prompt is the main constituent of a
Conversation
.An internal utility type that holds logic for loading a provider-like type from a classloaders.
Represents a puffer fish.
Called just before a
PufferFish
inflates or deflates.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents the various types a Rabbit might be.
Represents a raid event.
Represents the status of a
Raid
.Represents events related to raids.
This event is called when a
Raid
was complete with a clear result.Called when a raid wave spawns.
Called when a
Raid
is stopped.Called when a
Raid
is triggered (e.g: a player with Bad Omen effect
enters a village).'shape' represents the current layout of a minecart rail.
The different types of shapes a rail block can occupy.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
A provider for a range of numbers
Illager beast.
The hit result of a ray trace.
Represents some type of crafting recipe.
Represents a potential item match within a recipe.
Represents a choice that will be valid only if one of the stacks is
exactly matched (aside from stack size).
Represents a choice of multiple matching Materials.
Deprecated, for removal: This API element is subject to removal in a future version.
A type of minecart rail which interacts with redstone in one way or another.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
'north', 'east', 'south', 'west' represent the types of connections this
redstone wire has to adjacent blocks.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
The way in which a redstone wire can connect to an adjacent block face.
Deprecated, for removal: This API element is subject to removal in a future version.
RegexPrompt is the base class for any prompt that requires an input
validated by a regular expression.
A RegionAccessor gives access to getting, modifying and spawning
Biome
, BlockState
and Entity
,
as well as generating some basic structures.The region task scheduler can be used to schedule tasks by location to be executed on the region which owns the location.
Stores relevant information for plugin listeners
A registered service provider.
To be implemented by types that provide ways to register types
either on server start or during a reload
A lifecycle event that exposes a
Registrar
of some kind
to allow management of various things.Represents a registry of Bukkit objects that may be retrieved by
NamespacedKey
.Used for accessing different
Registry
instances
by a RegistryKey
.Utilities for extracting registry-related arguments from a
CommandContext
.To be implemented by any type used for modifying registries.
Specific configuration for
RegistryEntryAddEvent
s.Event object for
RegistryEventProvider.entryAdd()
.Lifecycle event type for
RegistryEntryAddEvent
s.Base type for all registry events.
Provider for registry events for a specific registry.
Holds providers for
RegistryEntryAddEvent
and RegistryFreezeEvent
handlers for each applicable registry.Event object for
RegistryEventProvider.freeze()
.Identifier for a specific registry.
Represents a collection tied to a registry.
A collection of anonymous values relating to a registry.
A lifecycle event that exposes a
Registrar
that is
reloadable.This event is called when a command is received over RCON.
Controls the way in which an
Objective
is rendered client side.Holds if this item is repairable, and what item types it can be repaired with.
Represents an item that can be repaired at an anvil.
'delay' is the propagation delay of a repeater, i.e.
A reputation score for a player on a villager.
A type of reputation gained with a
Villager
.Thrown if a plugin attempts to register for a reserved channel (such as
"REGISTER")
Holds player profile data that can be resolved to a
PlayerProfile
.Builder for
ResolvableProfile
.Represents a resource pack.
'charges' represents the amount of times the anchor may still be used.
Triggered when a ridable mob moves with a rider
Represents a minecart that can have certain
entities
as passengers.'rotation' represents the current rotation of this block.
An enum to specify a rotation based orientation, like that on a clock.
Rotations is an immutable object that stores rotations
in degrees on each axis (X, Y, Z).
Represents a salmon fish.
Represents the variant of a salmon - ie its size.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
use
BlockData
'stage' represents the growth stage of a sapling.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
'bottom' indicates whether the scaffolding is floating or not.
Represents a task scheduled to a scheduler.
Represents the result of attempting to cancel a task.
Represents the current execution state of the task.
Represents a fish that can school with other fish.
A scoreboard
Manager of Scoreboards
Represents an event triggered when a new cursor is created by a
SculkCatalyst
.'bloom' indicates whether the sculk catalyst is actively spreading the sculk
or not.
Represents a captured state of a sculk catalyst.
'sculk_sensor_phase' indicates the current operational phase of the sensor.
Represents a captured state of a sculk sensor
The Phase of the sensor.
'can_summon' indicates whether the sculk shrieker can summon the warden.
Represents a captured state of a sculk shrieker.
'pickles' indicates the number of pickles in this block.
Holds the loot table and seed for a container.
Builder for
SeededContainerLoot
.An
ArgumentResolver
that's capable of resolving
a selector argument value using a CommandSourceStack
.Represents an "alias" that a
ConfigurationSerializable
may be
stored as.Represents a server implementation.
Information about the current server build.
String representation types.
This event is called when a command is run by a non-player.
Thrown when a command throws an exception
Miscellaneous server events
Exception thrown when a server event listener throws an exception
Wrapper exception for all exceptions that are thrown by the server.
Called whenever an exception is thrown in a recoverable section of the server.
Thrown when the internal server throws a recoverable exception.
Represents a collections of links which may be sent to a client.
Represents a server link.
Represents a known type of link which will be translated by the client
and may have special functionality.
Called when a server list ping is coming in.
This event is called when either the server startup or reload has completed.
Represents the context in which the enclosing event has been completed.
Represents an object that may become a server operator, such as a
Player
Thrown whenever there is an exception with any enabling or disabling of plugins.
Wrapper exception for all cases to which a plugin can be immediately blamed for
Thrown when an incoming plugin message channel throws an exception
Called when resources such as datapacks are reloaded (e.g.
Thrown when a plugin's scheduler fails with an exception
Called when a tab-complete request throws an exception
Called when the server has finished ticking the main loop
Manages ticking within a server.
An event relating to a registered service.
Represents various priorities of a provider.
This event is called when a service is registered.
Manages services and service providers.
This event is called when a service is unregistered.
Represents a shaped (ie normal) crafting recipe.
Represents a shapeless recipe, where the arrangement of the ingredients on
the crafting grid does not matter.
Represents an entity that can be sheared.
Deprecated, for removal: This API element is subject to removal in a future version.
Spigots shearable API miserably fails at capturing all entities that may be sheared by a player, like
mushroom cows which, once sheared, convert into normal cows.
Represents a Sheep.
Called when a sheep's wool is dyed
Called when a sheep regrows its wool
Holds the state of whether a data component should be shown
in an item's tooltip.
A builder for creating a
ShownInTooltip
data component.Represents a captured state of a ShulkerBox.
Fired when a shulker duplicates itself by spawning a new shulker.
Represents the side of sign.
Represents a captured state of either a SignPost or a WallSign.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Called when a sign is changed by a player.
A resolver for a
SignedMessage
Represents a side of a sign.
Represents a Silverfish.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
A simple services manager.
Generates simplex-based noise.
Creates simplex noise through unbiased octaves
An animal that can sit still.
Represents a sized fireball.
Represents a Skeleton.
Deprecated.
classes are different types.
Represents a SkeletonHorse - variant of
AbstractHorse
.Event called when a player gets close to a skeleton horse and triggers the lightning trap
Represents a captured state of a skull block.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a skull that can have an owner.
Deprecated, for removal: This API element is subject to removal in a future version.
check
Material
instead'type' represents what state the slab is in - either top, bottom, or a double
slab occupying the full block.
The type of the slab.
Represents a Slime.
Fired when a Slime decides to change its facing direction.
Fired when a Slime decides to start pathfinding.
Called when a Slime splits into smaller Slimes upon death
Fired when a Slime decides to start jumping while swimming in water/lava.
Fired when a Slime decides to change direction to target a LivingEntity.
Fired when a Slime decides to start wandering.
Represents a small
Fireball
Interface to the inventory of a Smithing table.
Represents a smithing recipe.
Represents a smithing transform recipe.
Represents a smithing trim recipe.
Called when the recipe of an Item is completed inside a smithing table.
Represents a captured state of a smoker.
Represents a campfire recipe.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a Sniffer.
Represents the current state of the Sniffer.
'layers' represents the amount of layers of snow which are present in this
block.
'snowy' denotes whether this block has a snow covered side and top texture
(normally because the block above is snow).
Represents a snowball.
Represents a snowman entity
An interface of Sounds the server is able to send to players.
An Enum of categories for sounds.
Vanilla keys for
RegistryKey.SOUND_EVENT
.Represents a group of sounds for blocks that are played when various actions
happen (ie stepping, breaking, hitting, etc).
Represents groups of entities with shared spawn behaviors and mob caps.
An event that is called when a world's spawn changes.
Deprecated, for removal: This API element is subject to removal in a future version.
use
SpawnEggMeta
Represents a spawn egg and it's spawned type.
Represents an entity spawner.
Represents a weighted spawn potential that can be added to a monster spawner.
Represents the equipment loot table applied to a spawned entity.
Represents a Minecart with an
entity spawner
inside it.Called when an entity is spawned into a world by a spawner.
Represents a spawn rule that controls what conditions an entity from a
monster spawner can spawn.
Represents a spectral arrow.
Represents a spell casting "Illager".
Represents the current spell the entity is using.
Represents a Spider.
Deprecated, for removal: This API element is subject to removal in a future version.
should not be used for anything, use
ThrownPotion
and
set the potion via the methods there.Called when a sponge absorbs water from the world.
Represents a spruce boat.
Represents a spruce chest boat.
Represents a Squid.
'shape' represents the texture and bounding box shape of these stairs.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
The shape of a stair block - used for constructing corners.
Standard implementation to
Messenger
Represents a countable statistic, which is tracked by the server.
The type of statistic.
Represents a client requesting the current status from the server (e.g.
Represents an entity which may be saddled, ridden and steered using an item.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Interface to the inventory of a Stonecutter.
An instance of
InventoryView
which provides extra methods related to
stonecutter view data.Represents a Stonecutting recipe.
Represents a minecart with a chest.
Represents an entity stored in a block
Represents a Stray - variant of
AbstractSkeleton
.Represents a Strider.
Called when a
Strider
's temperature has changed as a result of
entering or exiting blocks it considers warm.StringPrompt is the base class for any prompt that accepts an arbitrary
string from the user.
Represents a structure block that can save and load blocks from a file.
Represent a Structure from the world.
Represents a structure.
'mode' represents the different modes in which this structure block may
operate.
Operating mode of a structure block.
Event that is called when an organic structure attempts to grow (Sapling ->
Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.
Vanilla keys for
RegistryKey.STRUCTURE
.Represents an individual part of a
GeneratedStructure
.Represents how a
Structure
can be rotated.Holds the result of searching for a structure.
Called before a set of configured structures is located.
Result for
StructuresLocateEvent
.Vanilla keys for
RegistryKey.STRUCTURE
.Represent a StructureType of a
Structure
.Deprecated.
This class does not represent the structures of a world well.
Vanilla keys for
RegistryKey.STRUCTURE_TYPE
.A scoreboard number format that applies a custom formatting to the score number.
Represents a
PotionEffectType
paired with a duration.Deprecated, for removal: This API element is subject to removal in a future version.
Holds the effects that will be applied when consuming Suspicious Stew.
Builder for
SuspiciousStewEffects
.Represents a suspicious stew that can have custom effects.
Deprecated.
Called when a
CommandSender
of any description (ie: player or
console) attempts to tab complete.Represents a class which can suggest tab completions for commands.
This class is provided as a convenience to implement both TabCompleter and
CommandExecutor.
A baby
Frog
.A named
RegistryKeySet
which are created
via the datapack tag system.Represents a tag that may be defined by the server or a resource pack to
group like things together.
An entry is a pre-flattened tag.
Provides event types for tag registration.
Called when a
Tameable
dies and sends a death message.Deprecated, for removal: This API element is subject to removal in a future version.
use
RayTraceResult
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
use
RayTraceResult
Called when a Target Block is hit by a projectile.
A team on a scoreboard that has a common display theme and other
properties.
Represents an option which may be applied to this team.
How an option may be applied to members of this team.
'type' represents the type of piston which this (technical) block corresponds
to.
Different piston variants.
Represents a flag that can be set on teleportation that may
slightly modify the behavior.
Represents flags that effect the entity's state on
teleportation.
Note: These flags only work on
Player
entities.Represents a text display entity.
Represents possible text alignments for this display.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Called when a thrown egg might hatch.
Represents a thrown Experience bottle.
Represents a thrown potion bottle
Stores data for thunder state changing in a world
A TemporalUnit that represents the target length of one server tick.
Represents a block state that also hosts a tile entity at the given location.
Represents a
TileState
block that has an inventory.Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Extends RegisteredListener to include timing information
Called when the time skips in a world.
An enum specifying the reason the time skipped.
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
Deprecated.
tipped status depends only on base potion type not being
UNCRAFTABLE and effects being empty.
Deprecated.
use
Title
A builder for creating titles
'unstable' indicates whether this TNT will explode on punching.
Represents a Primed TNT.
Deprecated, for removal: This API element is subject to removal in a future version.
use
TNTPrimeEvent
Called when a block of TNT in the world become primed.
An enum to represent the cause of a TNT block becoming primed.
Controls the behavior of the item as a tool.
Builder for
Tool
.Represents a component which can turn any item into a tool.
A rule governing use of this tool and overriding attributes per-block.
Context for computing itemstack tooltips via
ItemStack.computeTooltipLines(TooltipContext, Player)
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a trader Llama.
This event is called whenever a player clicks a new trade on the trades
sidebar.
Represents an arbitrary affine transformation.
Modified version of the Guava class with the same name to support add operations.
Deprecated, for removal: This API element is subject to removal in a future version.
use
Translatable
Represents a recipe which will change the type of the input material when
combined with an additional material, but preserve all custom data.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, see usage methods for replacement(s)
Tree and organic structure types.
'trial_spawner_state' indicates the current operational phase of the spawner.
Represents a captured state of a trial spawner.
Represents one of the configurations of a trial spawner.
Called when an entity is spawned into a world by a trial spawner.
Represents a thrown trident.
Represents a material that may be used in an
ArmorTrim
.Vanilla keys for
RegistryKey.TRIM_MATERIAL
.Represents a pattern that may be used in an
ArmorTrim
.Vanilla keys for
RegistryKey.TRIM_PATTERN
.'disarmed' denotes that the tripwire was broken with shears and will not
subsequently produce a current when destroyed.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Tropical fish.
Enumeration of all different fish patterns.
Represents a bucket of tropical fish.
Represents a turtle.
'eggs' is the number of eggs which appear in this block.
Fired when a Turtle decides to go home
Fired when a Turtle lays eggs
Fired when a Turtle starts digging to lay eggs
Represents a key for a value in a specific registry.
If set, the item will not lose any durability when used.
Builder for
Unbreakable
.Deprecated.
This should generally not be used in any new API code as it
suggests a bad API design.
Thrown when a player executes a command that is not defined
Thrown when attempting to load an invalid Plugin file
Deprecated.
Represents how a
Structure
can be used.Holds the contents of cooldown information when an item is used.
Represents a component which determines the cooldown applied when using this item before it is available for use again.
Holds the contents of item transformation information when an item is used.
This annotation indicates a method (and sometimes constructor) will chain
its internal operations.
ValidatingPrompt is the base class for any prompt that requires validation.
Vanilla keys for Mob Goals.
'vault_state' indicates the current operational phase of the vault block.
Represents a captured state of a trial spawner.
Called when a vault in a trial chamber is about to display an item.
Represents a mutable vector.
Represents a vehicle entity.
Raised when a vehicle collides with a block.
Raised when a vehicle collides.
Raised when a vehicle is created.
Raised when a vehicle receives damage.
Raised when a vehicle is destroyed, which could be caused by either a
player or the environment.
Raised when an entity enters a vehicle.
Raised when a vehicle collides with an entity.
Represents a vehicle-related event.
Raised when a living entity exits a vehicle.
Raised when a vehicle moves.
Called when a vehicle updates
Represents a Vex.
Represents a vibration from a Skulk sensor.
Represents a villager NPC
Represents the various different Villager professions there may be.
Represents Villager type, usually corresponding to what biome they spawn
in.
Called whenever a villager acquires a new trade.
Reasons for the villager's profession changing.
Vanilla keys for
RegistryKey.VILLAGER_PROFESSION
.Called when a
Villager
is about to restock one of its trades.Vanilla keys for
RegistryKey.VILLAGER_TYPE
.Represents a Vindicator.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
A shape made out of voxels.
This class encompasses the 'north', 'east', 'south', 'west', height flags
which are used to set the height of a wall.
The different heights a face of a wall may have.
Represents a wandering trader NPC
A Warden.
Called when a Warden's anger level has changed due to another entity.
This designates the warning state for a specific item.
This represents the states that server verbose for warnings may be.
Called when a splash water potion "splashes" and affects
different entities in different ways.
'waterlogged' denotes whether this block has fluid in it.
Represents a Water Mob
Stores data for weather changing in a world
Represents a Weather-related event
An enum of all current weather types
This event gets called when the whitelist status of a player is changed
Enum for the whitelist status changes
This event is fired when whitelist is toggled
Represents a Wind Charge.
Represents a Witch
Fired when a witch consumes the potion in their hand to buff themselves.
Fired when a witch throws a potion at a player
Represents a Wither boss
Represents one of the Wither's heads.
Represents a WitherSkeleton - variant of
AbstractSkeleton
.Represents a wither skull
Fireball
.Represents a Wolf
Represents the variant of a wolf.
Vanilla keys for
RegistryKey.WOLF_VARIANT
.Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal.
Represents a world, which may contain entities, chunks and blocks
Deprecated.
Use either the Future or the Consumer based methods
Represents various map environment types that a world may be
Deprecated, for removal: This API element is subject to removal in a future version.
Called when a world border changes its bounds, either over time, or instantly.
Called when a moving world border has finished its move.
Called when a world border's center is changed.
Represents various types of options that may be used to create a world.
Represents events within a world
Called when a world's gamerule is changed, either by command or by api.
Holds various information of a World
Called when a World is initializing.
Called when a World is loaded
Called when a World is saved.
Represents various types of worlds that may exist
Called when a World is unloaded
Holds the pages for a writable book.
Builder for
WritableBookContent
.Represents a book (
Material.WRITABLE_BOOK
) that can have pages.A registry which supports registering new objects.
Holds the contents and metadata of a Written Book.
Builder for
WrittenBookContent
.An implementation of
Configuration
which saves all files in Yaml.Various settings for controlling the input and output of a
YamlConfiguration
Represents a Zoglin.
Represents a Zombie.
Represents a ZombieHorse - variant of
AbstractHorse
.
AdvancementDisplay