80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "slime",
|
|
"size": 1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 2.0,
|
|
"min": 0.0
|
|
},
|
|
"function": "minecraft:set_count"
|
|
},
|
|
{
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"function": "minecraft:looting_enchant"
|
|
}
|
|
],
|
|
"name": "minecraft:slime_ball"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 1.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:slime_ball"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
}
|
|
]
|
|
} |