bedrock-kit
    Preparing search index...

    Class BehaviorBiome

    Represents a behavior pack biome definition file (biomes/ directory). Contains server-side biome data: terrain generation, climate, biome tags.

    Access via biome.behavior on a unified Biome.

    const biome = addon.biomes.get("minecraft:bamboo_jungle");
    console.log(biome?.behavior?.entities.map(e => e.id));
    console.log(biome?.behavior?.musicDefinition?.eventName);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data: Record<string, unknown>

    The raw parsed JSON data of the asset file.

    docstrings: CommentBlock[]

    All JSDoc-style comment blocks parsed from this asset's source file, in document order. Empty array when no /** … */ blocks are present.

    filePath: string

    Absolute path to the asset's file on disk. Empty string in browser mode.

    id: string

    The namespaced biome identifier, e.g. "minecraft:bamboo_jungle".

    Accessors

    • get entities(): Entity[]

      All unified entities whose spawn rule references at least one tag that this biome has.

      Returns Entity[]