mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-02-22 12:26:13 +00:00
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"format_version": "1.8.0",
|
|
"minecraft:spawn_rules": {
|
|
"description": {
|
|
"identifier": "minecraft:donkey",
|
|
"population_control": "animal"
|
|
},
|
|
"conditions": [
|
|
{
|
|
"minecraft:spawns_on_surface": {},
|
|
"minecraft:spawns_on_block_filter": "minecraft:grass_block",
|
|
"minecraft:brightness_filter": {
|
|
"min": 7,
|
|
"max": 15,
|
|
"adjust_for_weather": false
|
|
},
|
|
"minecraft:weight": {
|
|
"default": 1
|
|
},
|
|
"minecraft:herd": {
|
|
"min_size": 2,
|
|
"max_size": 6
|
|
},
|
|
"minecraft:biome_filter": {
|
|
"test": "has_biome_tag",
|
|
"operator": "==",
|
|
"value": "plains"
|
|
}
|
|
},
|
|
{
|
|
"minecraft:spawns_on_surface": {},
|
|
"minecraft:spawns_on_block_filter": "minecraft:grass_block",
|
|
"minecraft:brightness_filter": {
|
|
"min": 7,
|
|
"max": 15,
|
|
"adjust_for_weather": false
|
|
},
|
|
"minecraft:weight": {
|
|
"default": 1
|
|
},
|
|
"minecraft:herd": {
|
|
"min_size": 1,
|
|
"max_size": 2
|
|
},
|
|
"minecraft:biome_filter": {
|
|
"test": "has_biome_tag",
|
|
"operator": "==",
|
|
"value": "meadow"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |