Loosen "y_rotation_offset" type (#263)
This commit is contained in:
@@ -4,27 +4,25 @@
|
||||
"description": "Contains information about the player's rotation when the block was placed.",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": [
|
||||
"enabled_states"
|
||||
],
|
||||
"required": ["enabled_states"],
|
||||
"properties": {
|
||||
"enabled_states": {
|
||||
"title": "Enabled States",
|
||||
"description": "Block states you wish to enable",
|
||||
"type": "array",
|
||||
"maxItems": 2,
|
||||
"uniqueItems": true,
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"enum": [
|
||||
"minecraft:cardinal_direction",
|
||||
"minecraft:facing_direction"
|
||||
]
|
||||
"enum": ["minecraft:cardinal_direction", "minecraft:facing_direction"]
|
||||
}
|
||||
},
|
||||
"y_rotation_offset": {
|
||||
"title": "Y Rotation Offset",
|
||||
"description": "This rotation offset only applies to the horizontal state values",
|
||||
"enum": [0, 90, 180, 270, -90, -180, -270]
|
||||
"type": "number",
|
||||
"multipleOf": 90,
|
||||
"default": 0,
|
||||
"examples": [90, 180, 270, -90, -180, -270]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user