Refactor
This commit is contained in:
11
source/behavior/spawn_rules/spawn_rules.json
Normal file
11
source/behavior/spawn_rules/spawn_rules.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules",
|
||||
"examples": [
|
||||
{ "format_version": "1.10.0", "minecraft:spawn_rules": { "description": { "identifier": "minecraft:entity", "population_control": "ambient" }, "conditions": [{}] } }
|
||||
],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/spawn_rules.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.11.0" } } }, "then": { "$ref": "./1.11.0/spawn_rules.json" } }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user