mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-09-26 03:25:17 +00:00
66 lines
2.4 KiB
JSON
66 lines
2.4 KiB
JSON
{
|
|
"$id": "3463543465",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"2208326140": {
|
|
"description": "Adds the \"minecraft:cardinal_direction\" and/or \"minecraft:facing_direction\" states and setter function to the block.",
|
|
"properties": {
|
|
"enabled_states": {
|
|
"description": "Which states to enable. Must specify at least one. Options: [\"minecraft:cardinal_direction\", \"minecraft:facing_direction\"].",
|
|
"items": {
|
|
"pattern": "^(minecraft:cardinal_direction|minecraft:facing_direction)$",
|
|
"type": "string"
|
|
},
|
|
"maxItems": 2,
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
"y_rotation_offset": {
|
|
"description": "The y rotation offset to apply to the block. Must be [0.0, 90.0, 180.0, 270.0, 360.0]. Default is 0, meaning if the player is facing north, the \"minecraft:cardinal_direction\" and/or \"minecraft:facing_direction\" state will be north.",
|
|
"maximum": 360,
|
|
"minimum": 0,
|
|
"multipleOf": 90,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"enabled_states"
|
|
],
|
|
"title": "Placement Direction",
|
|
"type": "object"
|
|
},
|
|
"3142471136": {
|
|
"description": "Adds the \"minecraft:block_face\" and/or \"minecraft:vertical_half\" states and setter function to the block.",
|
|
"properties": {
|
|
"enabled_states": {
|
|
"description": "Which states to enable. Must specify at least one. Options: [\"minecraft:block_face\", \"minecraft:vertical_half\"].",
|
|
"items": {
|
|
"pattern": "^(minecraft:block_face|minecraft:vertical_half)$",
|
|
"type": "string"
|
|
},
|
|
"maxItems": 2,
|
|
"minItems": 1,
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"enabled_states"
|
|
],
|
|
"title": "Placement Position",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"minecraft:placement_direction": {
|
|
"$ref": "#/definitions/2208326140",
|
|
"description": "Adds the \"minecraft:cardinal_direction\" and/or \"minecraft:facing_direction\" states and setter function to the block."
|
|
},
|
|
"minecraft:placement_position": {
|
|
"$ref": "#/definitions/3142471136",
|
|
"description": "Adds the \"minecraft:block_face\" and/or \"minecraft:vertical_half\" states and setter function to the block."
|
|
}
|
|
},
|
|
"title": "Traits",
|
|
"type": "object",
|
|
"x-format-version": "1.21.110"
|
|
} |