This commit is contained in:
DaanV2
2021-06-08 21:19:30 +02:00
parent f5ab3767ab
commit 3db2b20124
3 changed files with 114 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
{
"title": "Structure Template Feature",
"description": "`minecraft:structure_template_feature` places a structure in the world. The structure must be stored as a .mcstructure file in the `structures` subdirectory of a behavior pack. It is possible to reference structures that are part of other behavior packs, they do not need to come from the same behavior pack as this feature. Constraints can be defined to specify where the structure is allowed to be placed. During placement, the feature will search for a position within the 'adjustment_radius' that satisfies all constraints. If none are found, the structure will not be placed.\nSucceeds if: The structure is placed in the world.\nFails if: The structure fails to be placed within the world.",
"title": "Underwater Cave Carver Feature",
"description": "'minecraft:underwater_cave_carver_feature' carves a cave through the world in the current chunk, and in every chunk around the current chunk in an 8 radial pattern.This feature will specifically target creating caves only below sea level.\nThis feature will also only work when placed specifically in the pass \"pregeneration_pass\".",
"type": "object",
"additionalProperties": false,
"required": ["description", "structure_name", "constraints"],
"required": ["description"],
"properties": {
"description": {
"title": "Description",
@@ -18,6 +18,24 @@
"$ref": "../../../../general/feature/identifier.json"
}
}
},
"fill_with": {
"title": "Fill with",
"description": "Reference to the block to fill the cave with.",
"type": "string",
"$ref": "../../../../general/block/identifier.json"
},
"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": {
"title": "Replace air with",
"description": "Reference to the block to replace air blocks with.",
"type": "string",
"$ref": "../../../../general/block/identifier.json"
}
}
}

View File

@@ -1,6 +1,9 @@
{
"title": "Vegetation Patch Feature",
"description": "Feature type `minecraft:vegetation_patch_feature` has not yet been documented.",
"type": "object",
"additionalProperties": false,
"required": ["description"],
"properties": {
"description": {
"title": "Description",
@@ -15,6 +18,74 @@
"$ref": "../../../../general/feature/identifier.json"
}
}
},
"replaceable_blocks": {
"title": "Replaceable Blocks",
"description": "",
"type": "array",
"items": {
"title": "Replace block",
"type": "string",
"$ref": "../../../../general/block/identifier.json"
}
},
"ground_block": {
"title": "Ground Block",
"description": "",
"type": "string",
"$ref": "../../../../general/block/identifier.json"
},
"vegetation_feature": {
"title": "Vegetation Feature",
"description": "",
"type": "string",
"$ref": "../../../../general/feature/identifier.json"
},
"surface": {
"title": "Surface",
"description": "",
"type": "string"
},
"depth": {
"title": "Depth",
"description": "",
"type": "integer",
"minimum": 0
},
"extra_deep_block_chance": {
"title": "Extra Deep Block Chance",
"description": "",
"type": "number",
"minimum": 0
},
"vertical_range": {
"title": "Vertical Range",
"description": "",
"type": "integer",
"minimum": 0
},
"vegetation_chance": {
"title": "Vegatation Chance",
"description": "",
"type": "number",
"minimum": 0
},
"horizontal_radius": {
"title": "Horizontal Radius",
"description": "",
"type": "integer",
"minimum": 0
},
"extra_edge_column_chance": {
"title": "Extra Egde Column Chance",
"description": "",
"type": "number",
"minimum": 0
},
"waterlogged": {
"title": "Waterlogged",
"description": "",
"type": "boolean"
}
}
}

View File

@@ -1,6 +1,9 @@
{
"title": "Weighted Random Feature",
"description": "'minecraft:weighted_random_feature' randomly selects and places a feature based on a weight value. Weights are relative, with higher values making selection more likely.\nSucceeds if: The selected feature is placed.\nFails if: The selected feature fails to be placed.",
"type": "object",
"additionalProperties": false,
"required": ["description", "features"],
"properties": {
"description": {
"title": "Description",
@@ -15,6 +18,25 @@
"$ref": "../../../../general/feature/identifier.json"
}
}
},
"features": {
"title": "Features",
"description": " Collection of weighted features that placement will select from.",
"type": "array",
"minItems": 1,
"items": {
"title": "Feature",
"description": "Named reference to a feature.",
"type": "array",
"items": [
{ "title": "Feature", "description": "Named reference to a feature.", "$ref": "../../../../general/feature/identifier.json" },
{
"title": "Weight",
"description": "Weight used in random selection. Value is relative to other weights in the collection.",
"type": "number"
}
]
}
}
}
}