Skip to content

Instantly share code, notes, and snippets.

@AzureDoom
Last active September 2, 2019 21:15
Show Gist options
  • Save AzureDoom/ddf372be26d616701c4cd0df0afd98e5 to your computer and use it in GitHub Desktop.
Save AzureDoom/ddf372be26d616701c4cd0df0afd98e5 to your computer and use it in GitHub Desktop.
{
"name": "demo:loot1",
"loot_rules": [{
"level": 1,
"type": "TOOLS",
"loot": [{
"data": {
"type": "tool",
"level": 0
},
"weight": 1
}],
"each": true,
"quantity": 1
},
{
"level": 1,
"type": "WEAPONS",
"loot": [{
"data": {
"type": "weapon",
"level": 0
},
"weight": 1
}],
"each": true,
"quantity": 1
},
{
"level": 1,
"type": "ARMOUR",
"loot": [{
"data": {
"type": "armour",
"level": 0
},
"weight": 1
}],
"each": true,
"quantity": 1
},
{
"level": 1,
"type": "ORE",
"loot": [{
"data": {
"name": "minecraft:iron_ingot"
},
"weight": 1
},
{
"data": {
"name": "minecraft:iron_nugget",
"min": 1,
"max": 4
},
"weight": 2
},
{
"data": {
"name": "minecraft:coal",
"min": 3,
"max": 7
},
"weight": 1
}
],
"each": true,
"quantity": 5
},
{
"level": 1,
"loot": [{
"data": {
"type": "enchanted_book",
"ench": 1
},
"weight": 1
}],
"each": false,
"quantity": 2
},
{
"level": 1,
"loot": [{
"data": {
"type": "specialty",
"level": 0
},
"weight": 1
}],
"each": false,
"quantity": 2
},
{
"level": 1,
"loot": [{
"data": {
"name": "ebwizardry:spell_book",
"meta": 1
},
"weight": 1
}],
"each": true,
"quantity": 1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment