minecraft-data
Version:
Provide easy access to minecraft data in node.js
34 lines • 1.08 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "blockMappings",
"description": "Maps block names and states between PC and PE (Bedrock) versions.",
"type": "array",
"items": {
"type": "object",
"description": "A mapping between a PC and PE block.",
"properties": {
"pc": { "$ref": "#/$defs/blockRef", "description": "PC (Java Edition) block reference." },
"pe": { "$ref": "#/$defs/blockRef", "description": "PE (Bedrock Edition) block reference." }
},
"required": ["pc", "pe"],
"additionalProperties": false
},
"$defs": {
"blockRef": {
"type": "object",
"description": "A reference to a block, including its name and states.",
"properties": {
"name": {
"type": "string",
"description": "The block's unique name identifier."
},
"states": {
"type": "object",
"description": "The block's state properties as key-value pairs."
}
},
"required": ["name", "states"],
"additionalProperties": false
}
}
}