Flattened spawn rules

This commit is contained in:
DaanV2
2021-10-21 16:39:38 +02:00
parent ad4686a5ca
commit 5b26a02286
60 changed files with 326 additions and 953 deletions

View File

@@ -1,10 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.biome_filter",
"title": "Biome Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../entities/filters/filters.json" } },
{ "type": "object", "$ref": "../../../entities/filters/filters.json" }
]
}

View File

@@ -1,18 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.brightness_filter",
"additionalProperties": false,
"type": "object",
"title": "Brightness Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust For Weather",
"default": true
}
}
}

View File

@@ -1,14 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.Delay_filter",
"additionalProperties": false,
"type": "object",
"title": "Delay Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" },
"identifier": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Identifier" },
"spawn_chance": { "title": "Spawn Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
}
}

View File

@@ -1,16 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.density_limit",
"additionalProperties": false,
"type": "object",
"title": "Density Limit 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": {
"type": "integer",
"description": "This is the maximum number of mobs of this type spawnable underground",
"title": "Underground"
}
}
}

View File

@@ -1,13 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.difficulty_filter",
"additionalProperties": false,
"type": "object",
"title": "Difficulty Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
}
}

View File

@@ -1,12 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.distance_filter",
"additionalProperties": false,
"type": "object",
"title": "Distance Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,12 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.height_filter",
"additionalProperties": false,
"type": "object",
"title": "Height Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,30 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.height_filter",
"title": "Height Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
"description": "Herd",
"additionalProperties": false,
"properties": {
"initial_event": { "title": "Initial Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" },
"initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
"min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Minimum Size" },
"max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Maximum Size" },
"event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": {
"type": "integer",
"description": "This is the number of mobs spawned before the specified event is triggered",
"title": "Event Skip Count"
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}

View File

@@ -1,8 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.mob_event_filter",
"title": "Mob Event Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "event": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Event" } }
}

View File

@@ -1,24 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.permute_type",
"additionalProperties": false,
"type": "array",
"title": "Permute Type 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"additionalProperties": false,
"title": "Permute Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"entity_type": {
"type": "string",
"title": "Entity Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
}

View File

@@ -1,17 +0,0 @@
{
"$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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"distance": { "type": "integer", "title": "Distance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"village_border_tolerance": {
"type": "integer",
"title": "Village Border Tolerance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}

View File

@@ -1,11 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawn_event",
"title": "Spawn Event 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Lava 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,7 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_on_block_filter",
"title": "Spawns On Block Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,7 +0,0 @@
{
"$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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,9 +0,0 @@
{
"$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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns Underground 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,8 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.spawns_underwater",
"title": "Spawns Underwater 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.weight",
"additionalProperties": false,
"type": "object",
"title": "Weight 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": { "default": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Default" } }
}

View File

@@ -1,8 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0.minecraft.world_age_filter",
"title": "World Age Filter 1.11.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" } }
}

View File

@@ -1,82 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0",
"type": "object",
"title": "Spawn Rules 1.11.0",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"],
"properties": {
"format_version": {
"const": "1.11.0",
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"minecraft:spawn_rules": {
"type": "object",
"title": "Spawn Rules",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The descripton of to which entity this spawn rule belongs",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": ["identifier", "population_control"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The entity identifier this spawn rule will apply to, entity must exist",
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/entity/identifier.json"
},
"population_control": {
"type": "string",
"title": "Population Control",
"description": "Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.",
"$comment": "UNDOCUMENTED",
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
}
}
},
"conditions": {
"type": "array",
"title": "Conditions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"additionalProperties": false,
"type": "object",
"title": "Condition",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"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" }
}
}
}
}
}
}
}

View File

@@ -1,82 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0",
"type": "object",
"title": "Spawn Rules 1.17.0",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"],
"properties": {
"format_version": {
"const": "1.17.0",
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"minecraft:spawn_rules": {
"type": "object",
"title": "Spawn Rules",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The descripton of to which entity this spawn rule belongs",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": ["identifier", "population_control"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The entity identifier this spawn rule will apply to, entity must exist",
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/entity/identifier.json"
},
"population_control": {
"type": "string",
"title": "Population Control",
"description": "Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.",
"$comment": "UNDOCUMENTED",
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
}
}
},
"conditions": {
"type": "array",
"title": "Conditions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"additionalProperties": false,
"type": "object",
"title": "Condition",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"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" }
}
}
}
}
}
}
}

View File

@@ -1,10 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.biome_filter",
"title": "Biome Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../entities/filters/filters.json" } },
{ "type": "object", "$ref": "../../../entities/filters/filters.json" }
]
}

View File

@@ -1,18 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.brightness_filter",
"additionalProperties": false,
"type": "object",
"title": "Brightness Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust For Weather",
"default": true
}
}
}

View File

@@ -1,16 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.density_limit",
"additionalProperties": false,
"type": "object",
"title": "Density Limit 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": {
"type": "integer",
"description": "This is the maximum number of mobs of this type spawnable underground",
"title": "Underground"
}
}
}

View File

@@ -1,13 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.difficulty_filter",
"additionalProperties": false,
"type": "object",
"title": "Difficulty Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
}
}

View File

@@ -1,12 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.distance_filter",
"additionalProperties": false,
"type": "object",
"title": "Distance Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,12 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.height_filter",
"additionalProperties": false,
"type": "object",
"title": "Height Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,28 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.height_filter",
"title": "Height Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
"description": "Herd",
"additionalProperties": false,
"properties": {
"min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Minimum Size" },
"max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Maximum Size" },
"event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": {
"type": "integer",
"description": "This is the number of mobs spawned before the specified event is triggered",
"title": "Event Skip Count"
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}

View File

@@ -1,24 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.permute_type",
"additionalProperties": false,
"type": "array",
"title": "Permute Type 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"additionalProperties": false,
"title": "Permute Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"entity_type": {
"type": "string",
"title": "Entity Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
}

View File

@@ -1,11 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawn_event",
"title": "Spawn Event 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Lava 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,7 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_on_block_filter",
"title": "Spawns On Block Filter 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,7 +0,0 @@
{
"$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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,9 +0,0 @@
{
"$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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns Underground 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,8 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.spawns_underwater",
"title": "Spawns Underwater 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false
}

View File

@@ -1,9 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0.minecraft.weight",
"additionalProperties": false,
"type": "object",
"title": "Weight 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": { "default": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Default" } }
}

View File

@@ -1,78 +0,0 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.8.0",
"type": "object",
"title": "Spawn Rules 1.8.0",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"],
"properties": {
"format_version": {
"const": "1.8.0",
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"minecraft:spawn_rules": {
"type": "object",
"title": "Spawn Rules",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The descripton of to which entity this spawn rule belongs",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": ["identifier", "population_control"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The entity identifier this spawn rule will apply to, entity must exist",
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/entity/identifier.json"
},
"population_control": {
"type": "string",
"title": "Population Control",
"description": "Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.",
"$comment": "UNDOCUMENTED",
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
}
}
},
"conditions": {
"type": "array",
"title": "Conditions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"additionalProperties": false,
"type": "object",
"title": "Condition",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"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" }
}
}
}
}
}
}
}

View File

@@ -1,10 +1,10 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.biome_filter",
"title": "Biome Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../entities/filters/filters.json" } },
{ "type": "object", "$ref": "../../../entities/filters/filters.json" }
]
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.biome_filter",
"title": "Biome Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../entities/filters/filters.json" } },
{ "type": "object", "$ref": "../../../entities/filters/filters.json" }
]
}

View File

@@ -1,18 +1,18 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.brightness_filter",
"additionalProperties": false,
"type": "object",
"title": "Brightness Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust For Weather",
"default": true
}
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.brightness_filter",
"additionalProperties": false,
"type": "object",
"title": "Brightness Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust For Weather",
"default": true
}
}
}

View File

@@ -1,14 +1,14 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.Delay_filter",
"additionalProperties": false,
"type": "object",
"title": "Delay Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" },
"identifier": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Identifier" },
"spawn_chance": { "title": "Spawn Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.Delay_filter",
"additionalProperties": false,
"type": "object",
"title": "Delay Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" },
"identifier": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Identifier" },
"spawn_chance": { "title": "Spawn Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
}
}

View File

@@ -1,16 +1,16 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.density_limit",
"additionalProperties": false,
"type": "object",
"title": "Density Limit 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": {
"type": "integer",
"description": "This is the maximum number of mobs of this type spawnable underground",
"title": "Underground"
}
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.density_limit",
"additionalProperties": false,
"type": "object",
"title": "Density Limit 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": {
"type": "integer",
"description": "This is the maximum number of mobs of this type spawnable underground",
"title": "Underground"
}
}
}

View File

@@ -1,13 +1,13 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.difficulty_filter",
"additionalProperties": false,
"type": "object",
"title": "Difficulty Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.difficulty_filter",
"additionalProperties": false,
"type": "object",
"title": "Difficulty Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
}
}

View File

@@ -1,12 +1,12 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.distance_filter",
"additionalProperties": false,
"type": "object",
"title": "Distance Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.distance_filter",
"additionalProperties": false,
"type": "object",
"title": "Distance Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,12 +1,12 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.height_filter",
"additionalProperties": false,
"type": "object",
"title": "Height Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.height_filter",
"additionalProperties": false,
"type": "object",
"title": "Height Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
}
}

View File

@@ -1,30 +1,30 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.height_filter",
"title": "Height Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
"description": "Herd",
"additionalProperties": false,
"properties": {
"initial_event": { "title": "Initial Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" },
"initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
"min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Minimum Size" },
"max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Maximum Size" },
"event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": {
"type": "integer",
"description": "This is the number of mobs spawned before the specified event is triggered",
"title": "Event Skip Count"
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.height_filter",
"title": "Height Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
"description": "Herd",
"additionalProperties": false,
"properties": {
"initial_event": { "title": "Initial Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" },
"initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
"min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Minimum Size" },
"max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Maximum Size" },
"event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": {
"type": "integer",
"description": "This is the number of mobs spawned before the specified event is triggered",
"title": "Event Skip Count"
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.mob_event_filter",
"title": "Mob Event Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "event": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Event" } }
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.mob_event_filter",
"title": "Mob Event Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "event": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Event" } }
}

View File

@@ -1,24 +1,24 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.permute_type",
"additionalProperties": false,
"type": "array",
"title": "Permute Type 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"additionalProperties": false,
"title": "Permute Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"entity_type": {
"type": "string",
"title": "Entity Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.permute_type",
"additionalProperties": false,
"type": "array",
"title": "Permute Type 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"additionalProperties": false,
"title": "Permute Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"entity_type": {
"type": "string",
"title": "Entity Type",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
}

View File

@@ -1,17 +1,17 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.player_in_village_filter",
"additionalProperties": false,
"type": "object",
"title": "Player In Village Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"distance": { "type": "integer", "title": "Distance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"village_border_tolerance": {
"type": "integer",
"title": "Village Border Tolerance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.player_in_village_filter",
"additionalProperties": false,
"type": "object",
"title": "Player In Village Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"distance": { "type": "integer", "title": "Distance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"village_border_tolerance": {
"type": "integer",
"title": "Village Border Tolerance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}

View File

@@ -1,11 +1,11 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawn_event",
"title": "Spawn Event 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawn_event",
"title": "Spawn Event 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Lava 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Lava 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_block_filter",
"title": "Spawns On Block Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_block_filter",
"title": "Spawns On Block Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_block_prevented_filter",
"title": "Spawns On Block Prevented Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_block_prevented_filter",
"title": "Spawns On Block Prevented Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_surface",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Surface 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_on_surface",
"additionalProperties": false,
"type": "object",
"title": "Spawns On Surface 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns Underground 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns Underground 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {}
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_underwater",
"title": "Spawns Underwater 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.spawns_underwater",
"title": "Spawns Underwater 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.weight",
"additionalProperties": false,
"type": "object",
"title": "Weight 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": { "default": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Default" } }
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.weight",
"additionalProperties": false,
"type": "object",
"title": "Weight 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": { "default": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Default" } }
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.world_age_filter",
"title": "World Age Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" } }
}
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.17.0.minecraft.world_age_filter",
"title": "World Age Filter 1.17.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": { "min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Min" } }
}

View File

@@ -2,14 +2,82 @@
"$id": "blockception.minecraft.behavior.spawn_rules",
"examples": [
{
"format_version": "1.10.0",
"format_version": "1.17.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" } },
{ "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" } } }
]
"type": "object",
"title": "Spawn Rules",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"],
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:spawn_rules": {
"type": "object",
"title": "Spawn Rules",
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The descripton of to which entity this spawn rule belongs",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": ["identifier", "population_control"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The entity identifier this spawn rule will apply to, entity must exist",
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/entity/identifier.json"
},
"population_control": {
"type": "string",
"title": "Population Control",
"description": "Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.",
"$comment": "UNDOCUMENTED",
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
}
}
},
"conditions": {
"type": "array",
"title": "Conditions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"additionalProperties": false,
"type": "object",
"title": "Condition",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"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" }
}
}
}
}
}
}
}