Wait for chunks
POST
Waits until every chunk in a square radius around the bot is loaded.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringFormat
uuidbot_id*stringFormat
uuidapplication/json- body
radiusChunks?integerChebyshev radius around the bot's current chunk. Zero waits for only the current chunk. The server rejects values above its safety limit.
Format
int64Range
0 <= value <= 4294967295timeoutMs?integerMaximum wait in milliseconds. Zero uses the server default.
Format
int64Range
0 <= value <= 4294967295Successful response.
application/json- response
centerChunkX*integerFormat
int32centerChunkZ*integerFormat
int32loadedChunks*integerFormat
int64Range
0 <= value <= 4294967295requiredChunks*integerFormat
int64Range
0 <= value <= 4294967295dimension*stringcurl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/chunks:wait' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"centerChunkX": 0,
"centerChunkZ": 0,
"loadedChunks": 0,
"requiredChunks": 0,
"dimension": "string"
}Was this page helpful?
