Updating block components
This commit is contained in:
@@ -5,7 +5,16 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"conditions": {
|
"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",
|
"type": "array",
|
||||||
|
"minItems": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"title": "Placement Filter",
|
"title": "Placement Filter",
|
||||||
"description": "[Experimental]",
|
"description": "[Experimental]",
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
|
||||||
@@ -11,7 +11,6 @@
|
|||||||
"origin": {
|
"origin": {
|
||||||
"title": "Origin",
|
"title": "Origin",
|
||||||
"default": [0, 0, 0],
|
"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.",
|
"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",
|
"type": "array",
|
||||||
"items": [
|
"items": [
|
||||||
@@ -22,7 +21,6 @@
|
|||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"title": "Size",
|
"title": "Size",
|
||||||
"$ref": "../../../../general/vectors/number3.json",
|
|
||||||
"default": [8.0, 8.0, 8.0],
|
"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.",
|
"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",
|
"type": "array",
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
||||||
"minecraft:part_visibility": { "$ref": "./components/part_visibility.json" },
|
"minecraft:part_visibility": { "$ref": "./components/part_visibility.json" },
|
||||||
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
||||||
"minecraft:rotation": { "$ref": "./components/rotation.json" },
|
|
||||||
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
||||||
"minecraft:transformation": { "$ref": "./components/transformation.json" },
|
"minecraft:transformation": { "$ref": "./components/transformation.json" },
|
||||||
"minecraft:unit_cube": { "$ref": "./components/unit_cube.json" },
|
"minecraft:unit_cube": { "$ref": "./components/unit_cube.json" },
|
||||||
|
|||||||
Reference in New Issue
Block a user