SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    BlockState: Message<"soulfire.v1.BlockState"> & {
        blockId: string;
        position?: BlockPosition;
        properties: { [key: string]: string };
    }

    A block observed in the bot's world view, including its type and runtime property state (e.g. "facing": "north", "waterlogged": "true").

    Type Declaration

    • blockId: string

      The namespaced block id (e.g. "minecraft:oak_log").

      from field: string block_id = 2;

    • Optionalposition?: BlockPosition

      The block position.

      from field: soulfire.v1.BlockPosition position = 1;

    • properties: { [key: string]: string }

      Flattened block state properties (name -> value) for the block. Empty for blocks with no variants.

      from field: map<string, string> properties = 3;

    from message soulfire.v1.BlockState