Refactor
This commit is contained in:
74
source/behavior/blocks/1.16.0/blocks.json
Normal file
74
source/behavior/blocks/1.16.0/blocks.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user