Misode-style JSON resources
Data Pack
Loot Pool Entries
TypeName / ValueCountWeightQuality
data/minecraft/loot_table/custom/example.json
Loot Table
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"weight": 1,
"name": "minecraft:diamond",
"functions": [
{
"function": "minecraft:set_count",
"count": 1
}
]
},
{
"type": "minecraft:item",
"weight": 3,
"name": "minecraft:emerald",
"functions": [
{
"function": "minecraft:set_count",
"count": 2
}
]
}
]
}
]
}