malloc-datapack/data/minecraft/loot_tables/entities/creeper.json

81 lines
1.8 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:gunpowder",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 2
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 1
}
}
]
},
{
"type": "minecraft:loot_table",
"name": "malloc:items/grist_coin",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 50,
"max": 150
}
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 50,
"max": 150
}
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
},
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:tag",
"name": "minecraft:creeper_drop_music_discs",
"expand": true
}
],
"conditions": [
{
"condition": "minecraft:entity_properties",
"entity": "killer",
"predicate": {
"type": "#minecraft:skeletons"
}
}
]
}
]
}