Updating block components
This commit is contained in:
@@ -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]",
|
||||
|
||||
@@ -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": {
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user