magma_cube.json
0 B
Empty File
{
"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": "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
},
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:magma_cream"
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:damage_source_properties",
"predicate": {
"source_entity": {
"type": "minecraft:frog",
"type_specific": {
"type": "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",
"type_specific": {
"type": "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",
"type_specific": {
"type": "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"
}