SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias InteractBlockRequest

    InteractBlockRequest: Message<"soulfire.v1.InteractBlockRequest"> & {
        botId: string;
        face: BlockFace;
        hand: Hand;
        instanceId: string;
        position?: BlockPosition;
        sneaking: boolean;
    }

    Type Declaration

    • botId: string

      from field: string bot_id = 2;

    • face: BlockFace

      Face to click.

      from field: soulfire.v1.BlockFace face = 4;

    • hand: Hand

      from field: soulfire.v1.Hand hand = 5;

    • instanceId: string

      from field: string instance_id = 1;

    • Optionalposition?: BlockPosition

      Block to activate. Must be loaded and within interaction reach.

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

    • sneaking: boolean

      Temporarily sneaks for this interaction. Useful when activating a block while holding an item whose normal use would take precedence.

      from field: bool sneaking = 6;

    from message soulfire.v1.InteractBlockRequest