Skip to content

Instantly share code, notes, and snippets.

@Dinnerbone
Created October 23, 2015 11:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dinnerbone/b42441ae63a02dbdd029 to your computer and use it in GitHub Desktop.
Save Dinnerbone/b42441ae63a02dbdd029 to your computer and use it in GitHub Desktop.
{
"pools": [
{
"rolls": 1,
"items": [
{
"item": "minecraft:rotten_flesh",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player"
},
{
"condition": "random_chance_with_looting",
"chance": 0.025,
"looting_multiplier": 0.01
}
],
"rolls": 1,
"items": [
{
"item": "minecraft:iron_ingot",
"weight": 1
},
{
"item": "minecraft:carrot",
"weight": 1
},
{
"item": "minecraft:potato",
"weight": 1
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment