74 lines
2.8 KiB
JSON
74 lines
2.8 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.1.16.0.blocks",
|
|
"description": "Minecraft blocks 1.16.0",
|
|
"required": ["format_version", "minecraft:block"],
|
|
"title": "Block",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"format_version": {
|
|
"title": "1.16.0 Format Version",
|
|
"type": "string",
|
|
"const": "1.16.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"
|
|
},
|
|
"properties": {
|
|
"title": "Properties",
|
|
"description": "UNDOCUMENATED",
|
|
"propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" },
|
|
"additionalProperties": {
|
|
"title": "Property",
|
|
"description": "A block property",
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Property Value",
|
|
"description": "The value of this property",
|
|
"anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }]
|
|
}
|
|
},
|
|
{ "type": "object" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": { "$ref": "../1.10.0/components.json" }
|
|
}
|
|
}
|
|
}
|
|
}
|