Files
minecraft-bedrock-json-schemas/source/behavior/spawn_rules/1.8.0/spawn_rules.json
2021-07-04 15:59:00 +02:00

79 lines
3.9 KiB
JSON

{
"$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": ["properties", "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" }
}
}
}
}
}
}
}