Skip to content

Instantly share code, notes, and snippets.

@toka7290
Created April 30, 2022 09:32
Show Gist options
  • Save toka7290/6a6b1a186fa0de8f4702527f2fb1d810 to your computer and use it in GitHub Desktop.
Save toka7290/6a6b1a186fa0de8f4702527f2fb1d810 to your computer and use it in GitHub Desktop.
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "toka7290:testmob",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:density_limit": {
"surface": 25,
"underground": 20
},
"minecraft:weight": {
"default": 10
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "overworld"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment