New Loot Types Loot Entity - Tmtravlr/LootOverhaul GitHub Wiki
Tag | Type | Description |
---|---|---|
EntityTag | String | The tag for the entity to spawn. Put the entity's id in this tag as if this were a spawn egg. |
This item will turn into an entity as soon as it enters the world.
Example Usage: Dropping a silverfish
{
"type": "item",
"name": "lootoverhaul:loot_entity",
"weight": 1,
"functions": [
{
"function": "set_nbt",
"tag": "{EntityTag:{id:\"minecraft:silverfish\"}}"
}
]
}
Example Usage: Dropping a chest minecart with dungeon loot
{
"type": "item",
"name": "lootoverhaul:loot_entity",
"weight": 1,
"functions": [
{
"function": "set_nbt",
"tag": "{EntityTag:{id:\"minecraft:chest_minecart\", LootTable:\"minecraft:chests/simple_dungeon\"}}"
}
]
}
No Previous | Back | Next - Loot Block |
---|