89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"modifier": [
|
|
{
|
|
"type": "minecraft:set_count",
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1,
|
|
"min": 0
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:enchanted_count_increase",
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting"
|
|
}
|
|
],
|
|
"name": "minecraft:rotten_flesh"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"modifier": [
|
|
{
|
|
"type": "minecraft:set_count",
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1,
|
|
"min": 0
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:enchanted_count_increase",
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting"
|
|
}
|
|
],
|
|
"name": "minecraft:gold_nugget"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"condition": {
|
|
"type": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:killed_by_player"
|
|
},
|
|
{
|
|
"type": "minecraft:random_chance_with_enchanted_bonus",
|
|
"enchanted_chance": {
|
|
"type": "minecraft:linear",
|
|
"base": 0.035,
|
|
"per_level_above_first": 0.01
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"unenchanted_chance": 0.025
|
|
}
|
|
]
|
|
},
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:gold_ingot"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/zombified_piglin"
|
|
} |