Drop loot
spawn_lootRolls a loot table once and drops the resulting items at a specified position in the main world, placing spawned loot exactly where you choose.
Instructions
Roll a loot table once and drop the resulting items at a position in the main world.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"loot_table": "<loot_table>",
"x": "<x>",
"y": "<y>",
"z": "<z>"
},
"name": "spawn_loot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Exact X; block centres are at .5 (e.g. 100.5). | |
| y | Yes | Exact Y of the feet. | |
| z | Yes | Exact Z; block centres are at .5 (e.g. -20.5). | |
| loot_table | Yes | Loot table id such as 'chests/simple_dungeon' or 'minecraft:entities/zombie'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||