From f9e7609cd05416043991ed3649670ed638a8f10e Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 3 Jun 2021 16:26:03 +0200 Subject: [PATCH] Added spawn rules 1.17.0 --- .../spawn_rules/1.17.0/spawn_rules.json | 67 +++++++++++++++++++ source/behavior/spawn_rules/spawn_rules.json | 1 + 2 files changed, 68 insertions(+) create mode 100644 source/behavior/spawn_rules/1.17.0/spawn_rules.json diff --git a/source/behavior/spawn_rules/1.17.0/spawn_rules.json b/source/behavior/spawn_rules/1.17.0/spawn_rules.json new file mode 100644 index 00000000..cb72d5bf --- /dev/null +++ b/source/behavior/spawn_rules/1.17.0/spawn_rules.json @@ -0,0 +1,67 @@ +{ + "$id": "blockception.minecraft.behavior.spawn_rules.1.17.0", + "type": "object", + "title": "Spawn Rules 1.17.0", + "description": "TODO", + "additionalProperties": false, + "required": ["format_version", "minecraft:spawn_rules"], + "properties": { + "format_version": { "const": "1.17.0", "description": "TODO description", "title": "TODO Title" }, + "minecraft:spawn_rules": { + "type": "object", + "title": "Spawn Rules", + "description": "TODO", + "additionalProperties": false, + "properties": { + "description": { + "type": "object", + "title": "Description", + "description": "TODO", + "additionalProperties": false, + "properties": { + "identifier": { "title": "Identifier", "description": "TODO", "$ref": "../../../general/entity/identifier.json" }, + "population_control": { + "type": "string", + "title": "Population Control", + "description": "TODO", + "enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"] + } + } + }, + "conditions": { + "type": "array", + "title": "Conditions", + "description": "TODO", + "items": { + "additionalProperties": false, + "type": "object", + "title": "Condition", + "description": "TODO", + "properties": { + "minecraft:biome_filter": { "$ref": "./components/minecraft.biome_filter.json" }, + "minecraft:brightness_filter": { "$ref": "./components/minecraft.brightness_filter.json" }, + "minecraft:density_limit": { "$ref": "./components/minecraft.density_limit.json" }, + "minecraft:difficulty_filter": { "$ref": "./components/minecraft.difficulty_filter.json" }, + "minecraft:delay_filter": { "$ref": "./components/minecraft.delay_filter.json" }, + "minecraft:distance_filter": { "$ref": "./components/minecraft.distance_filter.json" }, + "minecraft:height_filter": { "$ref": "./components/minecraft.height_filter.json" }, + "minecraft:herd": { "$ref": "./components/minecraft.herd.json" }, + "minecraft:player_in_village_filter": { "$ref": "./components/minecraft.player_in_village_filter.json" }, + "minecraft:permute_type": { "$ref": "./components/minecraft.permute_type.json" }, + "minecraft:mob_event_filter": { "$ref": "./components/minecraft.mob_event_filter.json" }, + "minecraft:spawn_event": { "$ref": "./components/minecraft.spawn_event.json" }, + "minecraft:spawns_on_block_filter": { "$ref": "./components/minecraft.spawns_on_block_filter.json" }, + "minecraft:spawns_on_block_prevented_filter": { "$ref": "./components/minecraft.spawns_on_block_prevented_filter.json" }, + "minecraft:spawns_lava": { "$ref": "./components/minecraft.spawns_lava.json" }, + "minecraft:spawns_on_surface": { "$ref": "./components/minecraft.spawns_on_surface.json" }, + "minecraft:spawns_underground": { "$ref": "./components/minecraft.spawns_underground.json" }, + "minecraft:spawns_underwater": { "$ref": "./components/minecraft.spawns_underwater.json" }, + "minecraft:weight": { "$ref": "./components/minecraft.weight.json" }, + "minecraft:world_age_filter": { "$ref": "./components/minecraft.world_age_filter.json" } + } + } + } + } + } + } +} diff --git a/source/behavior/spawn_rules/spawn_rules.json b/source/behavior/spawn_rules/spawn_rules.json index a5ff451e..1f1ded3e 100644 --- a/source/behavior/spawn_rules/spawn_rules.json +++ b/source/behavior/spawn_rules/spawn_rules.json @@ -9,6 +9,7 @@ "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" } }, + { "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/spawn_rules.json" } }, { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } ] }