Files
behavior_packs
resource_packs
Code
10 1,008
behavior_packs/praying_mantis_bp/spawn_rules/praying_mantis.json
{
"format_version": "1.20.80",
"minecraft:spawn_rules": {
"description": {
"identifier": "kodari:praying_mantis",
"population_control": "monster"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:brightness_filter": {
"min": 0,
"max": 7,
"adjust_for_weather": true
},
"minecraft:difficulty_filter": {
"min": "easy",
"max": "hard"
},
"minecraft:weight": {
"default": 20
},
"minecraft:herd": {
"min_size": 1,
"max_size": 2
},
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"value": "forest"
},
{
"test": "has_biome_tag",
"value": "jungle"
},
{
"test": "has_biome_tag",
"value": "plains"
},
{
"test": "has_biome_tag",
"value": "savanna"
},
{
"test": "has_biome_tag",
"value": "swamp"
}
]
}
}
]
}
}