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

70 lines
1.7 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"condition": {
"type": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"minecraft:type_specific/cube_mob": {
"size": 1
}
}
},
"entries": [
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:inverted",
"term": {
"type": "minecraft:damage_source_properties",
"predicate": {
"source_entity": {
"minecraft:entity_type": "minecraft:frog"
}
}
}
},
"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:slime_ball"
},
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:damage_source_properties",
"predicate": {
"source_entity": {
"minecraft:entity_type": "minecraft:frog"
}
}
},
"modifier": {
"type": "minecraft:set_count",
"count": 1
},
"name": "minecraft:slime_ball"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/slime"
}