{ "type": "object", "title": "Rect Layout", "description": "`minecraft:rect_layout` places a vein of blocks to simulate ore deposits. Despite the name, any block can be placed by this feature. During placement, existing world blocks are checked to see if they can be replaced by the new ore block based on the list provided in the `may_replace` field of a `replace_rules` entry. If no `may_replace` field is specified in a `replace_rule` entry, the ore block can replace any existing block.\nSucceeds if: At least one ore block is successfully placed.\nFails if: All ore block placements fail.", "additionalProperties": false, "required": ["description", "feature_areas"], "properties": { "description": { "title": "Description", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "object", "required": ["identifier"], "properties": { "identifier": { "title": "Identifier", "description": "The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.", "type": "string", "$ref": "../../../../general/feature/identifier.json" } } }, "ratio_of_empty_space": { "title": "Ratio Of Empty Space", "description": "Ratio of a Chunk to be filled with empty space rather than features.", "type": "number" }, "feature_areas": { "title": "Feature Areas", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "minItems": 1, "maxItems": 4294967295, "items": { "type": "object", "title": "Feature Area", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "additionalProperties": false, "properties": { "feature": { "title": "Feature", "description": "Feature to be placed.", "type": "string", "$ref": "../../../../general/feature/identifier.json" }, "area_dimensions": { "title": "Area Dimensions", "description": "Dimensions (size) of the associated Feature.", "type": "array", "minItems": 2, "maxItems": 2, "items": [ { "title": "Width", "type": "integer", "minimum": 0 }, { "title": "Length", "type": "integer", "minimum": 0 } ] } } } } } }