Initial Commit

This commit is contained in:
DaanV2
2020-11-01 17:22:42 +01:00
parent b4075f27df
commit 7a62f06f23
775 changed files with 39420 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
]
}

View File

@@ -0,0 +1,26 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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
}
}
}

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,18 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,46 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }
]
}

View File

@@ -0,0 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.11.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns on lava 1.11.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }]
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }]
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.11.0.minecraft.spawns_on_surface",
"additionalProperties": false,
"type": "object",
"title": "Spawns on surface 1.11.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.11.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns underground 1.11.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.11.0.minecraft.spawns_underwater",
"title": "Spawns underwater 1.11.0",
"description": "TODO",
"type": "object",
"additionalProperties": false
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}

View File

@@ -0,0 +1,76 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}
}
}
}
}
}

View File

@@ -0,0 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
]
}

View File

@@ -0,0 +1,26 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,18 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }
]
}

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.8.0.minecraft.spawns_lava",
"additionalProperties": false,
"type": "object",
"title": "Spawns on lava 1.8.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }]
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" } }]
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.8.0.minecraft.spawns_on_surface",
"additionalProperties": false,
"type": "object",
"title": "Spawns on surface 1.8.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.8.0.minecraft.spawns_underground",
"additionalProperties": false,
"type": "object",
"title": "Spawns underground 1.8.0",
"description": "TODO",
"properties": {}
}

View File

@@ -0,0 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules.1.8.0.minecraft.spawns_underwater",
"title": "Spawns underwater 1.8.0",
"description": "TODO",
"type": "object",
"additionalProperties": false
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,72 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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" }
}
}
}
}
}
}
}

View File

@@ -0,0 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.spawn_rules",
"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" }
}
]
}