Skip to main content
Glama

useItemOnBlockOrEntity

Execute item interactions on specific blocks or entities in Minecraft. Define the item, target, and optional count to perform precise in-game actions.

Instructions

Use an item on a block or entity

Input Schema

NameRequiredDescriptionDefault
countNoOptional: Number of times to use (default: 1)
itemYesName of the item to use
targetYesTarget block or entity

Input Schema (JSON Schema)

{ "properties": { "count": { "description": "Optional: Number of times to use (default: 1)", "type": "number" }, "item": { "description": "Name of the item to use", "type": "string" }, "target": { "description": "Target block or entity", "type": "string" } }, "required": [ "item", "target" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leo4life2/minecraft-mcp-http'

If you have feedback or need assistance with the MCP directory API, please join our Discord server