Set container text
Sets text in a container's text input field. Currently only supports anvil item renaming (field_id: "item_name"). The action is queued and executed on the next game tick.
Sets text in a container's text input field. Currently only supports anvil item renaming (field_id: "item_name"). 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 setting the text.
uuidWhich field to set the text for. Currently supported: "item_name" (anvil rename)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The text value to set. For anvil: max 50 characters for the item name.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://127.0.0.1:38765/v1/instances/p0/bots/p1/container/text-inputs/p2:set" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{
"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?
Reset movement POST
Resets all movement to stopped state. Equivalent to releasing all movement keys. The action is queued and executed on the next game tick.
Select hotbar slot POST
Changes the selected hotbar slot. Valid slot range: 0-8 (corresponding to slots 1-9 in the UI). The action is queued and executed on the next game tick.