133 lines
No EOL
3.5 KiB
JSON
133 lines
No EOL
3.5 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "minecraft:slime",
|
|
"size": {
|
|
"min": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": -2.0
|
|
},
|
|
"function": "minecraft:set_count"
|
|
},
|
|
{
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"function": "minecraft:enchanted_count_increase"
|
|
}
|
|
],
|
|
"name": "minecraft:magma_cream"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog",
|
|
"components": {
|
|
"minecraft:frog/variant": "minecraft:warm"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 1.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:pearlescent_froglight"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog",
|
|
"components": {
|
|
"minecraft:frog/variant": "minecraft:cold"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 1.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:verdant_froglight"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"source_entity": {
|
|
"type": "minecraft:frog",
|
|
"components": {
|
|
"minecraft:frog/variant": "minecraft:temperate"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 1.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:ochre_froglight"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/magma_cube"
|
|
} |