58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 2.0,
|
|
"type": "minecraft:uniform"
|
|
}
|
|
},
|
|
{
|
|
"function": "minecraft:looting_enchant",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 1.0
|
|
}
|
|
}
|
|
],
|
|
"name": "minecraft:rotten_flesh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:iron_ingot"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:carrot"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:potato"
|
|
}
|
|
],
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:killed_by_player"
|
|
},
|
|
{
|
|
"condition": "minecraft:random_chance_with_looting",
|
|
"chance": 0.025,
|
|
"looting_multiplier": 0.01
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |