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
Name | Required | Description | Default |
---|---|---|---|
count | No | Optional: Number of times to use (default: 1) | |
item | Yes | Name of the item to use | |
target | Yes | Target 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"
}