Files
minecraft-bedrock-json-schemas/source/behavior/blocks/1.12.0/blocks.json
2021-04-04 13:52:35 +02:00

55 lines
2.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.12.0.blocks",
"description": "Minecraft blocks 1.12.0",
"required": ["format_version", "minecraft:block"],
"title": "Block",
"type": "object",
"additionalProperties": false,
"properties": {
"format_version": {
"title": "1.12.0 Format Version",
"type": "string",
"const": "1.12.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
},
"minecraft:block": {
"title": "Block Definitions",
"description": "A custom block definition",
"type": "object",
"additionalProperties": false,
"required": ["description", "components"],
"properties": {
"description": {
"title": "Block Description",
"description": "The description for this block",
"type": "object",
"additionalProperties": false,
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
"title": "Identifier",
"$ref": "../../../general/block/identifier.json"
},
"is_experimental": {
"type": "boolean",
"default": false,
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
"title": "Is Experimental"
},
"register_to_creative_menu": {
"type": "boolean",
"default": false,
"description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register To Creative Menu"
}
}
},
"components": { "$ref": "../1.10.0/components.json" }
}
}
}
}