Pumpkin/assets/datapack/data/minecraft/loot_table/entities/ghast.json

97 lines
2.2 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:ghast_tear"
}
],
"rolls": 1
},
{
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 2,
"min": 0
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:gunpowder"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:all_of",
"terms": [
{
"type": "minecraft:damage_source_properties",
"predicate": {
"direct_entity": {
"minecraft:entity_type": "minecraft:fireball"
},
"tags": [
{
"expected": true,
"id": "#minecraft:is_projectile"
}
]
}
},
{
"type": "minecraft:killed_by_player"
}
]
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:music_disc_tears"
}
],
"modifier": {
"type": "minecraft:set_count",
"count": 1
},
"rolls": 1
}
],
"random_sequence": "minecraft:entities/ghast"
}