90 lines
2.0 KiB
JSON
90 lines
2.0 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
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"function": "minecraft:enchanted_count_increase"
|
|
}
|
|
],
|
|
"name": "minecraft:gunpowder"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"bonus_rolls": 0,
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "attacker",
|
|
"predicate": {
|
|
"type": "#minecraft:skeletons"
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"nbt": "{powered:0b}"
|
|
}
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:tag",
|
|
"expand": true,
|
|
"name": "minecraft:creeper_drop_music_discs"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"bonus_rolls": 0,
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "attacker",
|
|
"predicate": {
|
|
"type": "#minecraft:skeletons"
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"nbt": "{powered:1b}"
|
|
}
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"value": "hb_discs:satisfactory"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/creeper"
|
|
}
|