Refactor
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.biome_filter",
|
||||
"title": "Biome Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "../../../entities/1.16.0/filters.json" } },
|
||||
{ "type": "object", "$ref": "../../../entities/1.16.0/filters.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.brightness_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Brightness Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
||||
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
||||
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.Delay_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Delay Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
||||
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
||||
"identifier": { "type": "string", "description": "TODO", "title": "Identifier" },
|
||||
"spawn_chance": { "title": "Spawn Chance", "description": "UNDOCUMENTATED", "type": "number" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.density_limit",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Density Limit 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": { "surface": { "type": "integer", "description": "TODO", "title": "Surface" }, "underground": { "type": "integer", "description": "TODO", "title": "Underground" } }
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.difficulty_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Difficulty Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
|
||||
"properties": {
|
||||
"min": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Min" },
|
||||
"max": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Max" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.distance_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Distance Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" }, "max": { "type": "integer", "description": "TODO", "title": "Max" } }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.height_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Height Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" }, "max": { "type": "integer", "description": "TODO", "title": "Max" } }
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.height_filter",
|
||||
"title": "Height Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"definitions": {
|
||||
"herd": {
|
||||
"type": "object",
|
||||
"title": "Herd",
|
||||
"description": "Herd",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"initial_event": { "title": "Initial Event", "description": "UNDOCUMENATED", "type": "string" },
|
||||
"initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENATED", "type": "integer" },
|
||||
"min_size": { "type": "integer", "description": "TODO", "title": "Min Size" },
|
||||
"max_size": { "type": "integer", "description": "TODO", "title": "Max Size" },
|
||||
"event": { "type": "string", "description": "TODO", "title": "Event" },
|
||||
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event Skip Count" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/herd" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.mob_event_filter",
|
||||
"title": "Mob Event Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": { "event": { "type": "string", "description": "TODO", "title": "Event" } }
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.permute_type",
|
||||
"additionalProperties": false,
|
||||
"type": "array",
|
||||
"title": "Permute Type 1.11.0",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "TODO",
|
||||
"description": "TODO",
|
||||
"properties": { "weight": { "type": "integer", "title": "Weight", "description": "TODO" }, "entity_type": { "type": "string", "title": "Entity Type", "description": "TODO" } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.player_in_village_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Player In Village Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"distance": { "type": "integer", "title": "Distance", "description": "TODO" },
|
||||
"village_border_tolerance": { "type": "integer", "title": "Village Border Tolerance", "description": "TODO" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawn_event",
|
||||
"title": "Spawn Event 1.11.0",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": { "event": { "type": "string", "title": "Event", "description": "TODO" } }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_lava",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns On Lava 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_on_block_filter",
|
||||
"title": "Spawns On Block Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_on_block_prevented_filter",
|
||||
"title": "Spawns On Block Prevented Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_on_surface",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns On Surface 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_underground",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns Underground 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_underwater",
|
||||
"title": "Spawns Underwater 1.11.0",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.weight",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Weight 1.11.0",
|
||||
"description": "TODO",
|
||||
"properties": { "default": { "type": "integer", "description": "TODO", "title": "Default" } }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.world_age_filter",
|
||||
"title": "World Age Filter 1.11.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" } }
|
||||
}
|
||||
68
source/behavior/spawn_rules/1.11.0/spawn_rules.json
Normal file
68
source/behavior/spawn_rules/1.11.0/spawn_rules.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0",
|
||||
"type": "object",
|
||||
"title": "Spawn Rules 1.11.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:spawn_rules"],
|
||||
"properties": {
|
||||
"format_version": { "const": "1.11.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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.biome_filter",
|
||||
"title": "Biome Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "../../../entities/1.16.0/filters.json" } },
|
||||
{ "type": "object", "$ref": "../../../entities/1.16.0/filters.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.brightness_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Brightness Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
||||
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
||||
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.density_limit",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Density Limit 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": { "surface": { "type": "integer", "description": "TODO", "title": "Surface" }, "underground": { "type": "integer", "description": "TODO", "title": "Underground" } }
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.difficulty_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Difficulty Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
|
||||
"properties": {
|
||||
"min": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Min" },
|
||||
"max": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Max" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.distance_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Distance Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" }, "max": { "type": "integer", "description": "TODO", "title": "Max" } }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.height_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Height Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" }, "max": { "type": "integer", "description": "TODO", "title": "Max" } }
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.height_filter",
|
||||
"title": "Height Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"definitions": {
|
||||
"herd": {
|
||||
"type": "object",
|
||||
"title": "Herd",
|
||||
"description": "Herd",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"min_size": { "type": "integer", "description": "TODO", "title": "Min Size" },
|
||||
"max_size": { "type": "integer", "description": "TODO", "title": "Max Size" },
|
||||
"event": { "type": "string", "description": "TODO", "title": "Event" },
|
||||
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event Skip Count" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/herd" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.permute_type",
|
||||
"additionalProperties": false,
|
||||
"type": "array",
|
||||
"title": "Permute Type 1.8.0",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "TODO",
|
||||
"description": "TODO",
|
||||
"properties": { "weight": { "type": "integer", "title": "Weight", "description": "TODO" }, "entity_type": { "type": "string", "title": "Entity Type", "description": "TODO" } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawn_event",
|
||||
"title": "Spawn Event 1.8.0",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": { "event": { "type": "string", "title": "Event", "description": "TODO" } }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_lava",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns On Lava 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_on_block_filter",
|
||||
"title": "Spawns On Block Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_on_block_prevented_filter",
|
||||
"title": "Spawns On Block Prevented Filter 1.8.0",
|
||||
"description": "TODO",
|
||||
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_on_surface",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns On Surface 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_underground",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Spawns Underground 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_underwater",
|
||||
"title": "Spawns Underwater 1.8.0",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.weight",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Weight 1.8.0",
|
||||
"description": "TODO",
|
||||
"properties": { "default": { "type": "integer", "description": "TODO", "title": "Default" } }
|
||||
}
|
||||
64
source/behavior/spawn_rules/1.8.0/spawn_rules.json
Normal file
64
source/behavior/spawn_rules/1.8.0/spawn_rules.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0",
|
||||
"type": "object",
|
||||
"title": "Spawn Rules 1.8.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:spawn_rules"],
|
||||
"properties": {
|
||||
"format_version": { "const": "1.8.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: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:permute_type": { "$ref": "./components/minecraft.permute_type.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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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