The client or server object.
The main DevBed namespace name to use.
The namespace name used by DevBed.
The callbacks for the events.
The default data for custom events.
The extended properties.
The amount of ids that have already been created.
The functions set to execute on interval.
The client or server object.
An array of players in a server.
The system object.
The type of object the system is.
The total ticks that have passed since the script started.
Get blocks from the world.
The ticking area to use.
3 coords specifying the location of a block or 6 for an area of blocks.
Get the id of the block at specific coordinates.
The coords of the block to check.
The callback to fire after checking.
Check if a specific block has loaded.
The coords of the block to check.
The callback to fire after checking.
Call each callback of a specific name.
The name of the callback to call.
The data to provide in the callback.
Post a message in chat.
The message to post. Accepts unlimited arguments.
Check if a specific chunk has loaded.
The coords of the chunk to check.
The callback to fire after checking.
Clear interval set by DevBed.setInterval. Can also be used to cancel DevBed.setTimeout.
The id returned by the setInterval or setTimeout function.
Execute a slash command.
The command to execute.
The callback to invoke when the command returned data.
Execute a slash command.
The command to execute. Prepend with "c:" parameter for chat.
The player to execute the command as.
The callback to invoke when the command returned data.
Create a component.
The data to associate with the component.
Create an entity.
The type of entity to create.
The template identifier of the enitity to create.
Give or take potion effects from players.
The player selectors or usernames to apply the effect to.
The effect type.
The seconds the effect will be active.
The amplifier amount.
Whether or not to show the particles.
Create an entity.
The template identifier of the enitity to create.
Extend DevBed functionality.
The data to extend DevBed with. Specify names as keys and functions as values.
Extend DevBed functionality.
The name of the data to extend DevBed with.
The data to extend DevBed with.
Get the component of an entity.
The identifier of the component to create.
The entity with the component.
Get a new ID for DevBed to use.
Create an item.
The template identifier of the item to create.
Post formatted json to the chat.
The javascript object.
The indention level to use.
Get the data of a component stored in level.
The id of the component.
The data to set the component to.
Locate a structure.
The structure to locate.
The function to invoke with the results.
Configure the logging.
Convert a promise to a callback function when needed.
The callback to check.
The promise to integrate into the callback.
Convert a promise to a callback function when needed.
The callback to check.
The promise to integrate into the callback.
Modify the prototype of an object.
The object to be transformed.
The transformation to apply.
Setup namespaced event to be listened for.
The event identifier.
The callback to trigger.
Remove an event listener for an event.
The event identifier.
The callback to remove.
Listen for an event.
The event identifier.
The callback to trigger. A respond function is included for custom events.
Listen for an event.
The event identifier.
The callback to trigger. A respond function is included for custom events.
Listen for an event and trigger the callback once.
The event identifier.
The callback to trigger.
Parse the transformation of an array or object.
The object to be transformed.
The transformation to apply.
Parse the transformation of an array or object.
The object to be transformed.
The transformation to apply.
Proxy an event to another event.
The event to proxy.
The proxied event.
Query for an object.
The component to query.
The 3 query fields as an array of strings.
Get the entities within a specific radius of an entity.
The centre entity.
The radius to search.
Set gamerules.
The rules or rule to set or get.
The data to set if a single rule was provided.
Execute callback every specified milliseconds.
Callback to execute.
Milliseconds to wait between executions. (1 sec = 1000 ms)
The type of time to count. Can be set to ms
or ticks
.
Execute a function once after a specific amount of time.
Callback to execute.
Milliseconds to wait before executing. (1 sec = 1000 ms)
The type of time to count. Can be set to ms
or ticks
.
Convert value to string
The value to convert.
Transform IComponent to BedComponent.
The identifier of the component.
The IComponent object.
Trigger an event.
The name of the event to post.
The data to include in the event.
The callback to handle a responded custom event.
The API version targeted by DevBed.
Generated using TypeDoc
A simplified implementation of the Minecraft Bedrock Scripting API.