Click container button
Clicks a container-specific action button. Used for: stonecutter recipes, enchanting, loom patterns, villager trades, beacon effects, crafter slot toggles, lectern page navigation. The action is queued and executed on the next game tick.
Clicks a container-specific action button. Used for: stonecutter recipes, enchanting, loom patterns, villager trades, beacon effects, crafter slot toggles, lectern page navigation. The action is queued and executed on the next game tick.
Preferred API authentication. Use a JWT with the api audience.
In: header
Path Parameters
The UUID of the SoulFire instance containing the bot.
uuidThe profile UUID of the bot clicking the button.
uuidThe button ID to click. Valid values depend on container type:
- Stonecutter: 0-99 (recipe index)
- Enchanting table: 0-2 (enchantment slot)
- Loom: 0-99 (pattern index)
- Villager: 0 to (offer count - 1)
- Beacon: mob effect registry ID, -1 for confirm
- Crafter: 0-8 (slot toggle index)
- Lectern: 1=prev page, 2=next page, 3=take book
int32Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://127.0.0.1:38765/v1/instances/p0/bots/p1/container/buttons/p2:click"{
"success": true,
"error": "string"
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}How is this page?
Stop automation POST
Previous Page
Click dialog button POST
Clicks a button in the current dialog. Button index depends on dialog type (see BotClickDialogButtonRequest). The dialog is typically closed after the button click. Note: Full dialog button packets are not yet implemented; this clears local state.