Files
minecraft-bedrock-json-schemas/source/behavior/volumes/1.17.0/volumes.json
2021-06-06 13:00:25 +02:00

99 lines
4.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.volumes.1.17.0",
"type": "object",
"title": "Spawn Rules 1.17.0",
"description": "TODO",
"additionalProperties": false,
"required": ["format_version", "minecraft:volume"],
"properties": {
"format_version": {
"const": "1.17.0",
"description": "Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0.",
"title": "TODO Title"
},
"minecraft:volume": {
"type": "object",
"title": "Spawn Rules",
"description": "TODO",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The description contains a single `identifier` string",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft'.",
"$ref": "../../../general/volume/identifier.json"
}
}
},
"components": {
"type": "object",
"title": "Components",
"description": "TODO",
"additionalProperties": false,
"properties": {
"minecraft:bounds": {
"title": "Minecraft:bounds",
"description": "Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.",
"type": "object",
"additionalProperties": false,
"properties": {
"dimension": {
"type": "string",
"description": "The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end'.",
"title": "Dimension",
"enum": ["overworld", "nether", "the end"]
},
"max": {
"type": "array",
"description": "The maximum block position of the bounding box.",
"title": "Maximum",
"items": [
{ "title": "A", "type": "number" },
{ "title": "B", "type": "number" },
{ "title": "C", "type": "number" }
]
},
"min": {
"type": "array",
"description": "The minimum block position of the bounding box.",
"title": "Minimum",
"items": [
{ "title": "A", "type": "number" },
{ "title": "B", "type": "number" },
{ "title": "C", "type": "number" }
]
}
}
},
"minecraft:fog": {
"title": "Minecraft:fog",
"description": "Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.",
"type": "object",
"additionalProperties": false,
"properties": {
"fog_identifier": {
"type": "string",
"default": "",
"description": "The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist.",
"title": "fog identifier"
},
"priority": {
"type": "integer",
"default": 2147483647,
"description": "The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together.",
"title": "priority"
}
}
}
}
}
}
}
}
}