SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotBlockUpdateEvent

    BotBlockUpdateEvent: Message<"soulfire.v1.BotBlockUpdateEvent"> & {
        block?: BlockSnapshot;
        newBlockId: string;
        oldBlockId: string;
        position?: BlockPosition;
    }

    A block change observed within the bot's block radius.

    Type Declaration

    • Optionalblock?: BlockSnapshot

      Full semantic block state after the change, including properties, lighting, fluid, mining hints, and interaction metadata.

      from field: optional soulfire.v1.BlockSnapshot block = 4;

    • newBlockId: string

      New block id after the change.

      from field: string new_block_id = 3;

    • oldBlockId: string

      Previous block id, if the client tracked it. Can be empty on initial observation.

      from field: string old_block_id = 2;

    • Optionalposition?: BlockPosition

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

    from message soulfire.v1.BotBlockUpdateEvent