This commit is contained in:
DaanV2
2023-05-21 17:37:44 +02:00
7 changed files with 115 additions and 7 deletions

View File

@@ -0,0 +1,84 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.transformation",
"title": "Transformation",
"description": "Supports rotation, scaling, and translation",
"type": "object",
"additionalProperties": false,
"properties": {
"rotation": {
"title": "Rotation",
"description": "Rotation in xxx?",
"type": "array",
"items": [
{
"title": "X",
"description": "Rotation in xxx?",
"type": "number",
"default": 0
},
{
"title": "Y",
"description": "Rotation in xxx?",
"type": "number",
"default": 0
},
{
"title": "Z",
"description": "Rotation in xxx?",
"type": "number",
"default": 0
}
]
},
"scale": {
"title": "Scale",
"description": "UNDOCUMENTED",
"type": "array",
"items": [
{
"title": "X",
"description": "UNDOCUMENTED",
"type": "number",
"default": 1
},
{
"title": "Y",
"description": "UNDOCUMENTED",
"type": "number",
"default": 1
},
{
"title": "Z",
"description": "UNDOCUMENTED",
"type": "number",
"default": 1
}
]
},
"translation": {
"title": "Translation",
"description": "UNDOCUMENTED",
"type": "array",
"items": [
{
"title": "X",
"description": "UNDOCUMENTED",
"type": "number",
"default": 0
},
{
"title": "Y",
"description": "UNDOCUMENTED",
"type": "number",
"default": 0
},
{
"title": "Z",
"description": "UNDOCUMENTED",
"type": "number",
"default": 0
}
]
}
}
}

View File

@@ -32,6 +32,7 @@
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
"minecraft:rotation": { "$ref": "./components/rotation.json" },
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
"minecraft:transformation": { "$ref": "./components/transformation.json" },
"minecraft:unit_cube": { "$ref": "./components/unit_cube.json" },
//Triggers