jump
Make a Minecraft character jump to navigate obstacles, reach higher areas, or avoid hazards in the game world.
Instructions
Make the bot jump
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/bot.ts:214-228 (registration)Registration of the 'jump' tool, including name, description, empty schema, and inline handler function.
server.tool( "jump", "Make the bot jump", {}, async (): Promise<McpResponse> => { try { bot.setControlState('jump', true); setTimeout(() => bot.setControlState('jump', false), 250); return createResponse("Successfully jumped"); } catch (error) { return createErrorResponse(error as Error); } } ); - src/bot.ts:218-227 (handler)The handler function that executes the jump logic by setting the bot's jump control state to true for 250ms.
async (): Promise<McpResponse> => { try { bot.setControlState('jump', true); setTimeout(() => bot.setControlState('jump', false), 250); return createResponse("Successfully jumped"); } catch (error) { return createErrorResponse(error as Error); } } - src/bot.ts:217-217 (schema)Empty input schema for the 'jump' tool (no parameters required).
{},