Fixing features schemas
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
"title": "Max Point Offset",
|
||||
"type": "integer",
|
||||
"description": "The highest possible value of random offset applied to the position of each distribution point. [0,10]",
|
||||
"minimum": 1,
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
},
|
||||
"max_radius": {
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
"width_modifier": {
|
||||
"title": "Identifier",
|
||||
"description": "How many blocks to increase the cave radius by, from the center point of the cave.",
|
||||
"type": "string",
|
||||
"$ref": "../../../../molang/number.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"title": "Search Feature",
|
||||
"description": "`minecraft:search_feature` sweeps a volume searching for a valid placement location for its referenced feature. The `search_volume` field specifies the axis-aligned bounding box that defines the boundaries of the search. The search sweeps along the axis defined by the `search_axis` field, layer by layer. For example, if `search_axis` = '-x', blocks with greater x values will be checked before blocks with lower x values. Each layer is searched from the bottom-left to the top-right before moving to the next layer along the axis. By default, only one valid position must be found, but this can be altered by specifying the `required_successes` field. If fewer than the required successes are found, no placement will occur.\nSucceeds if: The number of valid positions is equal to the value specified by `required_successes`.\nFails if: The number of valid positions is less than the value specified by `required_successes`.",
|
||||
"additionalProperties": false,
|
||||
"required": ["description"],
|
||||
"required": ["description", "search_axis"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description",
|
||||
@@ -30,7 +30,7 @@
|
||||
"description": "Axis-aligned bounding box that will be searched for valid placement positions. Expressed as offsets from the input position.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["min", "max", "search_axis"],
|
||||
"required": ["min", "max"],
|
||||
"properties": {
|
||||
"max": {
|
||||
"title": "Max",
|
||||
@@ -51,6 +51,8 @@
|
||||
{ "title": "Min Y", "type": "integer" },
|
||||
{ "title": "Min Z", "type": "integer" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"search_axis": {
|
||||
"title": "Search Axis",
|
||||
@@ -66,5 +68,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"description": "Feature type 'minecraft:tree_feature' has not yet been documented.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "structure_name", "constraints"],
|
||||
"required": ["description"],
|
||||
"definitions": {
|
||||
"branch_canopy": {
|
||||
"title": "branch_canopy",
|
||||
@@ -821,6 +821,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"trunk": {
|
||||
"title": "trunk",
|
||||
@@ -1268,4 +1269,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
"width_modifier": {
|
||||
"title": "Width Modifier",
|
||||
"description": "How many blocks to increase the cave radius by, from the center point of the cave.",
|
||||
"type": "string",
|
||||
"$ref": "../../../../molang/number.json"
|
||||
},
|
||||
"replace_air_with": {
|
||||
|
||||
Reference in New Issue
Block a user