SoulFire TypeScript SDK 2.10.8
    Preparing search index...

    Type Alias BotSetContainerTextRequest

    BotSetContainerTextRequest: Message<"soulfire.v1.BotSetContainerTextRequest"> & {
        botId: string;
        expectedMenuId?: string;
        fieldId: string;
        instanceId: string;
        text: string;
    }

    Request to set text in a container text input field. Supports anvil item names and creative inventory searches.

    Type Declaration

    • botId: string

      The profile UUID of the bot setting the text.

      from field: string bot_id = 2;

    • OptionalexpectedMenuId?: string

      Reject the action with ABORTED if this menu is no longer open. Use menu_id from the displayed inventory state; omit to act on the current menu.

      from field: optional string expected_menu_id = 5;

    • fieldId: string

      Which field to set the text for. Supports "item_name" for anvil names and "search" for creative inventory.

      from field: string field_id = 3;

    • instanceId: string

      The UUID of the SoulFire instance containing the bot.

      from field: string instance_id = 1;

    • text: string

      The text value to set. Minecraft limits both supported fields to 50 characters.

      from field: string text = 4;

    from message soulfire.v1.BotSetContainerTextRequest