Beta
@minecraft/common (Optional in Manifest Details)
{
"module_name": "@minecraft/common",
"version": "1.1.0"
}
Install type definition for @minecraft/server
module using npm:
npm i @minecraft/server@2.1.0-beta.1.21.90-preview.25
Specifies different targeting modes for use in aim-assist.
The types of block components that are accessible via function Block.getComponent.
An enumeration describing the state of a block piston.
Description of the resulting intersection test on two BlockVolume objects
The state of a button on a keyboard, controller, or touch interface.
The required permission level to execute the custom command.
The Action enum determines how the CompoundBlockVolume considers the associated CompoundBlockVolumeItem when performing inside/outside calculations.
An enum describing the relativity of the CompoundBlockVolumeItem, relative to the parent CompoundVolume.
Reasons that the @minecraft/server.ContainerRulesError was thrown.
Reason why custom command registration failed.
The types of paramaters accepted by a custom command.
Who executed the command.
An enumeration for the various difficulty levels of Minecraft.
A general purpose relative direction enumeration.
Specifies a mechanism for displaying scores on a scoreboard.
Specifies different colors for use as dye.
The types of entity components that are accessible via function Entity.getComponent.
Describes the source of damage from an Entity.
An enumeration describing initialization cause of an entity.
The equipment slot of the mob. This includes armor, offhand and mainhand slots.
Represents the type of fluid for use within a fluid containing block, like a cauldron.
Represents a game mode for the current world experience.
Game rules. These values can also be controlled via the /gamerule command.
Describes the graphics mode of a client. Used by Player.graphicsMode
Enumeration that specifies how to treat the visibility of a HUD element.
All the different input buttons that are supported. Use with InputInfo.getButtonState via Player.inputInfo or PlayerButtonInputAfterEvent via WorldAfterEvents.playerButtonInput
Describes the type of input of a device.
Input permission categories. Used by PlayerInputPermissionCategoryChangeAfterEvent to specify which category was changed and PlayerInputPermissions to get or set permissions.
The types of item components that are accessible via function ItemStack.getComponent.
Describes how an an item can be moved within a container.
Specifies how to handle waterloggable blocks overlapping with existing liquid.
Represents the type of liquid that can be placed on a block or flow dynamically in the world.
Describes the memory of a device.
Enum containing the different phases of the moon based on the current day.,Obtain the current MoonPhase using world.getMoonPhase.
An enumeration describing the reason for the namespace name error being thrown
Used for specifying a sort order for how to display an objective and its list of participants.
Enum containing colors to be used with EntityColorComponent and EntityColor2Component
Describes what kind of platform is a device.
Specifies the player inventory type.
The player permission level.
Contains objectives and participants for the scoreboard.
Describes where the script event originated from.
Represents a side of a sign.
Specifies how structure blocks should be animated when a structure is placed.
Specifies how a structure should be mirrored when placed.
Enum describing a structure's placement rotation.
Specifies how a structure should be saved.
Provides numeric values for common periods in the Minecraft day.
Tint logic applied to a block or part of a block. The color may vary when a world position is part of the context, as biomes often have an influence on the resulting tint.
An enumeration with the reason that a watchdog is deciding to terminate execution of a behavior packs' script.
Used to specify the type of weather condition within the world.
Handle to an aim-assist category that exists in the world.aimAssist registry.
Settings used with AimAssistRegistry.addCategory for creation of the AimAssistCategory.
Handle to an aim-assist preset that exists in the world.aimAssist registry.
Settings used with AimAssistRegistry.addPreset for creation of the AimAssistPreset.
A container for APIs related to the world's aim-assist settings.
Describes a type of biome.
Supports a catalog of available biome types registered within Minecraft.
Represents a block in a dimension. A block represents a unique X, Y, and Z within a dimension and get/sets the state of the block at that location. This type was significantly updated in version 1.17.10.21.
Bounding Box Utils is a utility class that provides a number of useful functions for the creation and utility of BlockBoundingBox objects
Base type for components associated with blocks.
Contains information regarding an entity falling onto a specific block.
Contains information regarding a specific block that was placed.
Contains information regarding a specific block being broken by a player.
Contains information regarding a specific block being interacted with.
Contains information regarding an event before a player places a block.
Contains information regarding a specific block randomly ticking.
Contains information regarding an entity stepping off a specific block.
Contains information regarding an entity stepping onto a specific block.
Contains information regarding a specific block ticking.
An instance of a custom component on a block.
Represents the particles that appear when the block is destroyed.
Contains information regarding an event that impacts a specific block.
Contains information regarding an explosion that has occurred for a specific block.
Manages callbacks that are connected to when an explosion occurs, as it impacts individual blocks.
Represents the fluid container of a block in the world. Used with blocks like cauldrons.
Represents the inventory of a block in the world. Used with blocks like chests.
A BlockLocationIterator returns the next block location of the block volume across which it is iterating. The BlockLocationIterator is used to abstract the shape of the block volume it was fetched from (so it can represent all the block locations that make up rectangles, cubes, spheres, lines and complex shapes). Each iteration pass returns the next valid block location in the parent shape. Unless otherwise specified by the parent shape - the BlockLocationIterator will iterate over a 3D space in the order of increasing X, followed by increasing Z followed by increasing Y. (Effectively stepping across the XZ plane, and when all the locations in that plane are exhausted, increasing the Y coordinate to the next XZ slice)
Represents the color of a block when displayed on a map.
When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.
Represents a block that can play a record.
Represents a block that can display text on it.
Enumerates all BlockStateTypes.
Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state.
The type (or template) of a block. Does not contain permutation data (state) other than the type of block it represents. This type was introduced as of version 1.17.10.21.
Contains a catalog of Minecraft Block Types that are available in this world.
A BlockVolume is a simple interface to an object which represents a 3D rectangle of a given size (in blocks) at a world block location. Note that these are not analogous to "min" and "max" values, in that the vector components are not guaranteed to be in any order. In addition, these vector positions are not interchangeable with BlockLocation. If you want to get this volume represented as range of of BlockLocations, you can use the getBoundingBox utility function. This volume class will maintain the ordering of the corner indexes as initially set. imagine that each corner is assigned in Editor - as you move the corner around (potentially inverting the min/max relationship of the bounds) - what you had originally selected as the top/left corner would traditionally become the bottom/right. When manually editing these kinds of volumes, you need to maintain the identity of the corner as you edit - the BlockVolume utility functions do this.
Base type for BlockVolumes.
Contains information related to changes to a button push.
Manages callbacks that are connected to when a button is pushed.
Contains methods relating to the active camera for the specified player.
An event that fires as players enter chat messages.
Manages callbacks that are connected to chat messages being sent.
An event that fires as players enter chat messages.
Manages callbacks that are connected to an event that fires before chat messages are sent.
Contains the device information for a client instance.
Contains return data on the result of a command execution.
Base class for downstream Component implementations.
The Compound Block Volume is a collection of individual block volume definitions which, as a collection, define a larger volume of (sometimes non-contiguous) irregular shapes. This class is loosely based on the concept of CSG (Computational Solid Geometry) and allows a user to create complex volumes by building a stack of volumes and voids to make a larger single volume. For example - normally a creator would create a hollow cube by creating 6 "wall" surfaces for each face. With a Compound Block Volume, a creator can define a hollow cube by creating a single outer solid cube, and then defining a further single 'void' cube inside the larger one. Similarly, the Compound Block Volume can represent irregular shaped volumes (e.g. a tree consists of a trunk and lots of leaf cubes which are not necessarily contiguously placed). Each of the volumes added to the CompoundBlockVolume are (by default) relative to the origin set (either at construction or via one of the set functions). However, it is also possible to push volumes to the compound collection which are absolute in nature and are not affected by origin changes.
Represents a container that can hold sets of items. Used with entities such as Players, Chest Minecarts, Llamas, and more.
Error thrown if ContainerRules are broken on container operations.
Represents a slot within a broader container (e.g., entity inventory.)
Error object thrown when CustomCommandRegistry errors occur.
Details about the origins of the command.
Provides the functionality for registering custom commands.
Contains the custom component's JSON parameters
Contains information related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.
Contains event registration related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.
A class that represents a particular dimension (e.g., The End) within a world.
Represents a type of dimension.
Used for accessing all available dimension types.
Represents an effect - like poison - that has been added to an Entity.
Contains information related to changes to an effect - like poison - being added to an entity.
Manages callbacks that are connected to when an effect is added to an entity.
Contains information related to changes to an effect - like poison - being added to an entity.
Manages callbacks that are connected to when an effect is added to an entity.
Represents a type of effect - like poison - that can be applied to an entity.
Represents a type of effect - like poison - that can be applied to an entity.
Contains information on a type of enchantment.
Contains a catalog of Minecraft Enchantment Types that are available in this world.
Represents the state of an entity (a mob, the player, or other moving objects like minecarts) in the world.
When added, this component makes the entity spawn with a rider of the specified entityType.
Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.
This is a base abstract class for any entity component that centers around a number and can have a minimum, maximum, and default defined value.
Base class for a family of entity movement events.
Defines what blocks this entity can breathe in and gives them the ability to suffocate.
When added, this component signifies that the entity can climb up ladders.
When added, this component signifies that the entity can fly, and the pathfinder won't be restricted to paths where a solid block is required underneath it.
When added, this component signifies that the entity can power jump like the horse does within Minecraft.
Defines the entity's secondary color. Only works on certain entities that have secondary predefined color values (e.g., tropical fish).
Defines the entity's color. Only works on certain entities that have predefined color values (e.g., sheep, llama, shulker).
Base class for downstream entity components.
As part of the Ageable component, represents a set of items that can be fed to an entity and the rate at which that causes them to grow.
Contains data related to the death of an entity in the game.
Supports registering for an event that fires after an entity has died.
Provides access to a mob's equipment slots. This component exists for all mob entities.
When added, this component signifies that this entity doesn't take damage from fire.
When added, this component signifies that this entity can float in liquid blocks.
Represents the flying speed of an entity.
Defines how much friction affects this entity.
Defines the interactions with this entity for healing it.
Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!
Manages callbacks that are connected to when the health of an entity changes.
Defines the health properties of an entity.
Contains information related to an entity hitting a block.
Manages callbacks that are connected to when an entity hits a block.
Contains information related to an entity hitting (melee attacking) another entity.
Manages callbacks that are connected to when an entity makes a melee attack on another entity.
Contains information related to an entity getting hurt.
Manages callbacks that are connected to when an entity is hurt.
Defines this entity's inventory properties.
When added, this component signifies that this entity is a baby.
When added, this component signifies that this entity is charged.
When added, this component signifies that this entity is currently carrying a chest.
When added, this component signifies that dyes can be used on this entity to change its color.
When added, this component signifies that this entity can hide from hostile mobs while invisible.
When added, this component signifies that this entity this currently on fire.
When added, this component signifies that this entity is an illager captain.
When added, this component signifies that this entity is currently saddled.
When added, this component signifies that this entity is currently shaking.
When added, this component signifies that this entity is currently sheared.
When added, this component signifies that this entity can be stacked.
When added, this component signifies that this entity is currently stunned.
When added, this component signifies that this entity is currently tamed.
If added onto the entity, this indicates that the entity represents a free-floating item in the world. Lets you retrieve the actual item stack contents via the itemStack property.
Defines the base movement speed in lava of this entity.
Allows the entity to be leashed. Defines the conditions and events for when an entity is leashed.
Contains data related to an entity loaded within the world. This could happen when an unloaded chunk is reloaded, or when an entity changes dimensions.
Registers a script-based event handler for handling what happens when an entity loads.
Additional variant value. Can be used to further differentiate variants.
When added, this movement control allows the mob to swim in water and walk on land.
This component accents the movement of an entity.
Defines the general movement speed of this entity.
When added, this move control causes the mob to fly.
When added, this move control allows a mob to fly, swim, climb, etc.
When added, this movement control allows the mob to glide.
When added, this move control causes the mob to hover.
Move control that causes the mob to jump as it moves with a specified delay between jumps.
When added, this move control causes the mob to hop as it moves.
When added, this move control causes the mob to sway side to side giving the impression it is swimming.
Allows this entity to generate paths that include vertical walls (for example, like Minecraft spiders do.)
Allows this entity to generate paths that include vertical walls (for example, like Minecraft spiders do.)
Allows this entity to generate paths by flying around the air like the regular Ghast.
Allows this entity to generate paths in the air (for example, like Minecraft parrots do.)
Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.
Allows this entity to generate paths in the air (for example, like the Minecraft Bees do.) Keeps them from falling out of the skies and doing predictive movement.
Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.
Adds NPC capabilities to an entity such as custom skin, name, and dialogue interactions.
When present on an entity, this entity is on fire.
The projectile component controls the properties of a projectile entity and allows it to be shot in a given direction. This component is present when the entity has the minecraft:projectile component.
Sets the distance through which the entity can push through.
Data for an event that happens when an entity is removed from the world (for example, the entity is unloaded because it is not close to players.)
Allows registration for an event that fires when an entity is removed from the game (for example, unloaded, or a few seconds after they are dead.)
Data for an event that happens when an entity is being removed from the world (for example, the entity is unloaded because it is not close to players.)
Allows registration for an event that fires when an entity is being removed from the game (for example, unloaded, or a few seconds after they are dead.)
When added, this component adds the capability that an entity can be ridden by another entity.
This component is added to any entity when it is riding another entity.
Sets the entity's visual size.
Skin Id value. Can be used to differentiate skins, such as base skins for villagers.
Contains data related to an entity spawning within the world.
Registers a script-based event handler for handling what happens when an entity spawns.
Defines the entity's ability to carry items. An entity with a higher strength would have higher potential carry capacity and more item slots.
Defines the rules for an entity to be tamed by the player.
Contains options for taming a rideable entity based on the entity that mounts it.
Represents information about a type of entity.
Base class for downstream entity components.
Used for accessing all entity types currently available for use within the world.
Defines the general movement speed underwater of this entity.
Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager).
When added, this component signifies that this entity wants to become a jockey.
Contains information regarding an explosion that has happened.
Manages callbacks that are connected to when an explosion occurs.
Contains information regarding an explosion that has happened.
Manages callbacks that are connected to before an explosion occurs.
As part of the Healable component, represents a specific item that can be fed to an entity to cause health effects.
Represents an effect that is applied as a result of a food item being fed to an entity.
Represents constants related to fluid containers.
Contains information regarding a changed world.gameRules property.
Manages callbacks that are connected to when a world.gameRules property has changed.
Represents the game rules for a world experience.
Contains the input information for a client instance.
The container slot is invalid. This can occur when the owning container is destroyed or unloaded.
The error called when an entity is invalid. This can occur when accessing components on a removed entity.
Thrown when a Structure is invalid. A structure becomes invalid when it is deleted.
Contains information related to a chargeable item completing being charged.
Manages callbacks that are connected to the completion of charging for a chargeable item.
Contains information related to a chargeable item completing being charged.
Base class for item components.
Contains information regarding an item before it is damaged from hitting an entity.
Contains information related to a chargeable item completing being charged via a component.
Contains information related to a food item being consumed.
Contains information regarding when an item is used to hit an entity.
Contains information regarding the mining of a block using an item.
Provides the functionality for registering custom components for items.
Contains information regarding the use of an item.
Contains information regarding the use of an item on a block via a component.
When present, the item can be composted in the composter block if the composting chance is in the range [1 - 100].
When present on an item, this item has a cooldown effect when used by entities.
Thrown when trying to register an item custom component with a name that has already been registered.
An instance of a custom component on an item.
Thrown after using the /reload command when trying to register a previously unregistered item custom component.
Thrown after using the /reload command when trying to register a previously registered item custom component that handles a new event.
Thrown after using the /reload command when trying to register a previously registered item custom component with a newer API version.
When present on an item, this item can take damage in the process of being used. Note that this component only applies to data-driven items.
When present on an item, this item can be dyed.
When present on an item, this item can have enchantments applied to it.
When present on an item, this item is consumable by entities. Note that this component only applies to data-driven items.
This component is added to items with the Storage Item
component. Can access and modify this items inventory
container.
When present on an item, this item is a potion item.
Contains information related to a chargeable item when the player has finished using the item and released the build action.
Manages callbacks that are connected to the releasing of charging for a chargeable item.
Defines a collection of items.
Contains information related to a chargeable item starting to be charged.
Manages callbacks that are connected to the start of charging for a chargeable item.
Contains information related to an item being used on a block. This event fires when a player presses the the Use Item / Place Block button to successfully use an item or place a block. Fires for the first block that is interacted with when performing a build action. Note: This event cannot be used with Hoe or Axe items.
Manages callbacks that are connected to an item starting being used on a block event.
Contains information related to a chargeable item has finished an items use cycle, or when the player has released the use action with the item.
Manages callbacks that are connected to the stopping of charging for an item that has a registered minecraft:chargeable component.
Contains information related to an item that has stopped being used on a block. This event fires when a player successfully uses an item or places a block by pressing the Use Item / Place Block button. If multiple blocks are placed, this event will only occur once at the beginning of the block placement. Note: This event cannot be used with Hoe or Axe items.
Manages callbacks that are connected to an item stops used on a block event.
Represents the type of an item - for example, Wool.
Returns the set of item types registered within Minecraft.
Contains information related to an item being used on a block. This event fires when an item used by a player successfully triggers an entity interaction.
Manages callbacks that are connected to an item use event.
Contains information related to an item being used.
Manages callbacks that fire before an item is used.
Contains information regarding the use of an item on a block.
Contains information related to changes to a lever activating or deactivating.
Manages callbacks that are connected to lever moves (activates or deactivates).
Volume composed of an unordered container of unique block locations.
Thrown when the chunk for provided location or bounding area is not loaded.
Thrown when a provided location or bounding area is outside the minimum or maximum dimension height.
A specific currently-internal event used for passing messages from client to server.
Contains a set of additional variable values for further defining how rendering and animations function.
Thrown when a name requires a namespace and an error occurs when validating that namespace
Contains information related to changes to a piston expanding or retracting.
Manages callbacks that are connected to piston activations.
Represents a player within the world.
A container for APIs related to player aim-assist.
Contains information regarding an event after a player breaks a block.
Manages callbacks that are connected to when a player breaks a block.
Contains information regarding an event before a player breaks a block.
Manages callbacks that are connected to before a player breaks a block.
Event data for when a player presses a button.
Manages callbacks that are connected to player inputs.
Represents the players cursor inventory. Used when moving items between between containers in the inventory UI. Not used with touch controls.
Contains information related to changes to a player's dimension having been changed.
Manages callbacks that are connected to successful player dimension changes.
Contains information regarding an event after a players game mode is changed.
Manages callbacks that are connected to after a players game mode is changed.
Contains information regarding an event before a player interacts with an entity.
Manages callbacks that are connected to before a players game mode is changed.
Contains information regarding an event after changing the selected hotbar slot for a player.
Manages callbacks that are connected after a player selected hotbar slot is changed.
Event data for when a player input mode changes.
Manages callbacks that are connected to player input mode.
Contains information regarding an event after a players input permissions change.
Manages callbacks that are connected to after a players input permissions change.
Contains APIs to enable/disable player input permissions.
Contains information regarding an event after a player successfully interacts with a block.
Manages callbacks that are connected to after a player interacts with a block.
Contains information regarding an event before a player interacts with a block.
Manages callbacks that are connected to before a player interacts with a block.
Contains information regarding an event after a player successfully interacts with an entity.
Manages callbacks that are connected to after a player interacts with an entity.
Contains information regarding an event before a player interacts with an entity.
Manages callbacks that are connected to before a player interacts with an entity.
Contains information regarding an event after a player's inventory item changes.
Manages callbacks that are connected after a player's inventory item is changed.
Contains information regarding a player that has joined. See the playerSpawn event for more detailed information that could be returned after the first time a player has spawned within the game.
Manages callbacks that are connected to a player joining the world.
Contains information regarding a player that has left the world.
Manages callbacks that are connected to a player leaving the world.
Contains information regarding a player that is leaving the world.
Manages callbacks that are connected to a player leaving the world.
Contains information regarding an event where a player places a block.
Manages callbacks that are connected to when a block is placed by a player.
Contains information regarding an event before a player places a block.
Manages callbacks that are connected to before a block is placed by a player.
An event that contains more information about a player spawning.
Registers an event when a player is spawned (or re-spawned after death) and fully ready within the world.
Represents a type of potion effect - like healing or leaping
Represents a type of potion liquid - like splash, or lingering - that can be used with PotionOptions.
Represents a type of potion modifier - like strong, or long
Used for accessing all potion effects, liquids, and modifiers currently available for use within the world.
Contains information related to changes to a pressure plate pop.
Manages callbacks that are connected to when a pressure plate is popped.
Contains information related to changes to a pressure plate push.
Manages callbacks that are connected to when a pressure plate is pushed.
Contains information related to a projectile hitting a block.
Manages callbacks that are connected to when a projectile hits a block.
Contains information related to a projectile hitting an entity.
Manages callbacks that are connected to when a projectile hits an entity.
Contains objectives and participants for the scoreboard.
Contains an identity of the scoreboard item.
Contains objectives and participants for the scoreboard.
Contains a pair of a scoreboard participant and its respective score.
Contains information about user interface elements that are showing up on the screen.
Returns additional data about a /scriptevent command invocation.
Allows for registering an event handler that responds to inbound /scriptevent commands.
Describes a particular seating position on this rideable entity.
Manages callbacks that are message passing to a server. This event is not currently fully implemented, and should not be used.
Provides an adaptable interface for callers to subscribe to an event that fires before the game world shuts down. This event occurs after players have left, but before the world has closed.
The event object that gets dispatched when the game world is shutting down.
Represents a loaded structure template (.mcstructure file). Structures can be placed in a world using the /structure command or the StructureManager APIs.
Manager for Structure related APIs. Includes APIs for creating, getting, placing and deleting Structures.
A class that provides system-level events and functions.
Provides a set of events that fire within the broader scripting system within Minecraft.
A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error.
Contains device information, like memory tier.
Contains information related to changes to a target block hit.
Manages callbacks that are connected to when a target block is hit.
Represents a trigger for firing an event.
Contains information related to changes to a trip wire trip.
Manages callbacks that are connected to when a trip wire is tripped.
Error thrown when the specified area contains one or more unloaded chunks.
Contains information related to a script watchdog termination.
Manages callbacks that are connected to a callback that will be called when a script runtime is being terminated due to a violation of the performance watchdog system.
Contains information related to changes in weather in the environment.
Manages callbacks that are connected to weather changing.
Contains information related to changes in weather in the environment.
Manages callbacks that are connected to before weather changing.
A class that wraps the state of a world - a set of dimensions and the environment of Minecraft.
Contains a set of events that are available across the scope of the World.
A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error. (e.g., dimension.spawnEntity)
Contains additional options for searches for the dimension.findNearestBiome API.
A BlockBoundingBox is an interface to an object which represents an AABB aligned rectangle. The BlockBoundingBox assumes that it was created in a valid state (min <= max) but cannot guarantee it (unless it was created using the associated BlockBoundingBoxUtils utility functions. The min/max coordinates represent the diametrically opposite corners of the rectangle. The BlockBoundingBox is not a representation of blocks - it has no association with any type, it is just a mathematical construct - so a rectangle with ( 0,0,0 ) -> ( 0,0,0 ) has a size of ( 0,0,0 ) (unlike the very similar BlockVolume object)
Contains a set of events that will be raised for a block. This object must be bound using the BlockRegistry.
Contains optional parameters for registering a block event.
Contains additional options for a block fill operation.
Options to include or exclude blocks based on type, tag or permutation. If no include options are added it will select all blocks that are not rejected by the exclude options. If at least one include option is added the block must match one of the include options to not be rejected.
Contains more information for events where a block is hit.
Contains information for block raycast hit results.
Contains additional options for configuring a block raycast query.
Contains options associated with a camera ease operation.
Used to initiate a full-screen color fade.
Contains timings for a fade transition.
Options to control pivot points and offsets of the third person boom preset.
Used to target an entity with a free camera.
This interface defines an entry into the CompoundBlockVolume which represents a volume of positive or negative space.
Rules that if broken on container operations will throw an error.
Define the custom command, including name, permissions, and parameters.
Definition for each parameter expected by the custom command.
Interface returned from custom command callback function.
Contains a set of updates to the component definition state of an entity.
An exact coordinate within the world, including its dimension and location.
This interface represents a specific leveled enchantment that is applied to an item.
Additional options for when damage has been applied via a projectile.
Additional descriptions and metadata for a damage event.
Provides information about how damage has been applied to an entity.
Specifies additional filters that are used in registering a data driven trigger event for entities.
Contains additional options for entity effects.
Contains optional parameters for registering an entity event.
Contains options for filtering entities.
Contains additional information about an entity that was hit.
Contains options for selecting entities within an area.
Contains additional options for filtering players based on their score for an objective.
Contains information for entity raycast hit results.
Contains additional options for an entity raycast operation.
Equal to operator.
Additional configuration options for the Dimension.createExplosion method.
Greater than operator.
Greater than or equal to operator.
Contains additional filtering options for hotbar events.
An interface that is passed into @minecraft/Server.PlayerButtonInputAfterEventSignal.subscribe that filters out which events are passed to the provided callback.
Contains additional filtering options for inventory item events.
Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry.
Provides additional options for StructureManager.placeJigsaw.
Provides additional options for StructureManager.placeJigsawStructure.
Less than operator.
Less than or equal to operator.
Additional configuration options for World.playMusic/World.queueMusic methods.
Not equal to operator.
Contains additional options for how an animation is played.
Settings relating to a player's aim-assist targeting.
Additional options for how a sound plays for a player.
Options for use in creating potions. See ItemStack.createPotion.
Optional arguments for @minecraft/server.EntityProjectileComponent.shoot.
Operator represents a lower/upper bound structure for expressing a potential range of numbers.
Defines a JSON structure that is used for more flexible.
Provides a description of a score token to use within a raw message.
A RawMessage
with only the rawtext
property. When a
RawMessage
is serialized the contents are put into a
rawtext property, so this is useful when reading saved
RawMessages. See BlockSignComponent.setText
and
BlockSignComponent.getRawText
for examples.
Represents a fully customizable color within Minecraft.
Represents a fully customizable color within Minecraft.
Contains additional options for how a scoreboard should be displayed within its display slot.
Contains additional options for registering a script event event callback.
Contains additional options for spawning an Entity.
Provides additional options for StructureManager.createFromWorld
Provides additional options for StructureManager.place
Contains additional options for teleporting an entity.
Contains additional options for displaying a title and optional subtitle.
Represents a two-directional vector.
Contains a description of a vector.
Contains additional options for a playSound occurrence.
Type alias used by the BlockPermutation matches and resolve functions to narrow block state argument types to those mapped by @minecraft/vanilla-data.BlockStateMapping.
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
Manifest Details