Updating block components

This commit is contained in:
DaanV2
2023-07-30 13:28:53 +02:00
parent 86aa494ec4
commit beb9e2b52f
4 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,16 @@
"type": "object",
"properties": {
"conditions": {
"title": "Conditions",
"description": "List of conditions where the block can be placed/survive. Limited to 64 conditions. Each condition is a JSON Object that must contain at least one (and can contain both) of the parameters allowed_faces or block_filter as shown below.",
"examples": [
{
"allowed_faces": ["up"],
"block_filter": ["grass"]
}
],
"type": "array",
"minItems": 1,
"items": {
"title": "Placement Filter",
"description": "[Experimental]",

View File

@@ -1,6 +0,0 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.rotation",
"title": "Rotation",
"description": "The block's rotation around the center of the cube in degrees. The rotation order is [x, y, z]. Angles need to be in multiples of 90.",
"$ref": "../../../../general/vectors/number3.json"
}

View File

@@ -11,7 +11,6 @@
"origin": {
"title": "Origin",
"default": [0, 0, 0],
"$ref": "../../../../general/vectors/number3.json",
"description": "Minimal position of the bounds of the selection box. \"origin\" is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
"type": "array",
"items": [
@@ -22,7 +21,6 @@
},
"size": {
"title": "Size",
"$ref": "../../../../general/vectors/number3.json",
"default": [8.0, 8.0, 8.0],
"description": "Size of each side of the selection box. Size is specified as [x, y, z]. \"origin\" + \"size\" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
"type": "array",

View File

@@ -30,7 +30,6 @@
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
"minecraft:part_visibility": { "$ref": "./components/part_visibility.json" },
"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" },