mc_rebalance_datapack/data/minecraft/loot_tables/entities/zombie.json
2025-08-28 19:43:46 +01:00

76 lines
2.5 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 2,
"min": 0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:rotten_flesh"
}
],
"rolls": 1
},
{
"bonus_rolls": 0,
"conditions": [
{
"condition": "minecraft:killed_by_player"
},
{
"chance": 0.025,
"condition": "minecraft:random_chance_with_looting",
"looting_multiplier": 0.01
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:carrot"
},
{
"type": "minecraft:item",
"functions": [
{
"conditions": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_fire": true
}
}
}
],
"function": "minecraft:furnace_smelt"
}
],
"name": "minecraft:potato"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/zombie"
}