wolf spawn_rule
-
Article
-
-
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:wolf",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": [
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt"
],
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 8
},
"minecraft:herd": {
"min_size": 4,
"max_size": 4
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "taiga"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": [
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt"
],
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 8
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "grove"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 5
},
"minecraft:herd": {
"min_size": 4,
"max_size": 4
},
"minecraft:biome_filter": {
"all_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "forest"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "mutated"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "birch"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "roofed"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "mountain"
}
]
}
}
]
}
}