All animation controller definitions from the resource pack.
All animation definitions from the resource pack.
All attachable definitions from the resource pack.
Resolved absolute path to the behavior pack directory.
All biomes as unified views merging behavior pack and resource pack (client biome) data.
Access the BP side via biome.behavior, the RP side via biome.resource.
All block definitions from the behavior pack.
The behavior pack manifest (manifest.json), or undefined if not found.
All entities as unified views merging behavior, resource, and spawn rule data.
Returns undefined from .get() for unknown identifiers.
All feature rule definitions from the behavior pack.
All world generation feature definitions from the behavior pack.
All fog definitions from the resource pack.
All geometry model definitions from the resource pack.
All item definitions from the behavior pack.
All loot table files, keyed by their relative path from the BP root.
The parsed music_definitions.json file, or undefined if the resource
pack does not contain one.
All particle effect definitions from the resource pack.
All crafting recipes from the behavior pack.
All render controller definitions from the resource pack.
Resolved absolute path to the resource pack directory.
The resource pack manifest (manifest.json), or undefined if not found.
The parsed sound_definitions.json file, or undefined if the resource
pack does not contain one.
All texture files from the resource pack, keyed by relative path without extension. Only populated in Node.js (disk) mode. Empty in browser mode.
All villager trading table files.
Returns the asset whose file path matches (or ends with) filePath.
Searches across all loaded asset types.
Pass a class constructor as the second argument to narrow the return type.
Returns undefined if the asset is found but is not an instance of the
requested class.
Returns the asset whose file path matches (or ends with) filePath.
Searches across all loaded asset types.
Pass a class constructor as the second argument to narrow the return type.
Returns undefined if the asset is found but is not an instance of the
requested class.
StaticfromCreates an AddOn by reading pack directories from disk (Node.js only).
Absolute or relative path to the behavior pack directory.
OptionalrpPath: stringAbsolute or relative path to the resource pack directory. Optional — omit if the addon has no resource pack.
StaticfromCreates an AddOn from browser File[] arrays (browser only).
Files from the behavior pack folder selection.
Files from the resource pack folder selection.
The main entry point for bedrockKit. Represents a Minecraft Bedrock addon consisting of a behavior pack and an optional resource pack.
Create instances using the static async factory methods:
Example