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

51 lines
1.1 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"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:entity_properties",
"entity": "attacker",
"predicate": {
"minecraft:entity_type": "#minecraft:skeletons"
}
},
"entries": [
{
"type": "minecraft:tag",
"expand": true,
"items": "#minecraft:creeper_drop_music_discs"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/creeper"
}