Files
minecraft-bedrock-json-schemas/source/behavior/spawn_rules/1.11.0/spawn_rules.json

83 lines
4.3 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
"$id": "blockception.minecraft.behavior.spawn_rules.1.11.0",
"type": "object",
"title": "Spawn Rules 1.11.0",
2021-07-04 15:59:00 +02:00
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"],
"properties": {
2021-07-04 15:59:00 +02:00
"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"
},
2021-06-06 10:07:19 +00:00
"minecraft:spawn_rules": {
"type": "object",
"title": "Spawn Rules",
2021-07-04 15:59:00 +02:00
"description": "Data-Driven spawning allows you to adjust the spawn conditions of mobs",
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
2021-07-04 15:59:00 +02:00
"description": "The descripton of to which entity this spawn rule belongs",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
2021-07-04 15:59:00 +02:00
"required": ["properties", "population_control"],
2021-06-06 10:07:19 +00:00
"properties": {
2021-07-01 11:35:53 +02:00
"identifier": {
"title": "Identifier",
2021-07-04 15:59:00 +02:00
"description": "The entity identifier this spawn rule will apply to, entity must exist",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/entity/identifier.json"
},
2021-06-06 10:07:19 +00:00
"population_control": {
"type": "string",
"title": "Population Control",
2021-07-04 15:59:00 +02:00
"description": "Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
}
}
},
"conditions": {
"type": "array",
"title": "Conditions",
2021-06-16 16:19:12 +02:00
"description": "UNDOCUMENTED",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"items": {
"additionalProperties": false,
"type": "object",
"title": "Condition",
2021-06-16 16:19:12 +02:00
"description": "UNDOCUMENTED",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"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" }
}
}
}
}
}
}
}