102 lines
No EOL
2.3 KiB
JSON
102 lines
No EOL
2.3 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"function": "minecraft:set_count"
|
|
},
|
|
{
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"function": "minecraft:enchanted_count_increase"
|
|
}
|
|
],
|
|
"name": "minecraft:ghast_tear"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
},
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 2.0,
|
|
"min": 0.0
|
|
},
|
|
"function": "minecraft:set_count"
|
|
},
|
|
{
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"function": "minecraft:enchanted_count_increase"
|
|
}
|
|
],
|
|
"name": "minecraft:gunpowder"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
},
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"direct_entity": {
|
|
"type": "minecraft:fireball"
|
|
},
|
|
"tags": [
|
|
{
|
|
"expected": true,
|
|
"id": "minecraft:is_projectile"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:killed_by_player"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:music_disc_tears"
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 1.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/ghast"
|
|
} |