Replaced surface_parameters with surface_builder (#362)

This commit is contained in:
Legopitstop
2025-08-08 03:19:57 -05:00
committed by GitHub
parent cd9e499382
commit b2f33a0ca9
3 changed files with 53 additions and 41 deletions

View File

@@ -0,0 +1,52 @@
{
"$id": "blockception.minecraft.behavior.biomes.minecraft.surface_builder",
"title": "Surface Builder",
"description": "Controls the materials used for terrain generation.",
"type": "object",
"required": ["builder"],
"additionalProperties": false,
"properties": {
"builder": {
"title": "Builder",
"description": "Controls the block types used for terrain generation.",
"type": "object",
"additionalProperties": false,
"required": ["type"],
"properties": {
"type": {
"enum": ["minecraft:overworld", "minecraft:frozen_ocean", "minecraft:mesa", "minecraft:swamp", "minecraft:capped", "minecraft:the_end"]
},
"top_material": {
"title": "Top Material",
"description": "Controls the block type used for the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
}
}
}
}
}

View File

@@ -1,40 +0,0 @@
{
"$id": "blockception.minecraft.behavior.biomes.minecraft.surface_parameters",
"title": "Surface Parameters",
"description": "Control the blocks used for the default Minecraft Overworld terrain generation.",
"type": "object",
"required": ["foundation_material", "mid_material", "sea_floor_depth", "sea_floor_material", "sea_material", "top_material"],
"additionalProperties": false,
"properties": {
"top_material": {
"title": "Top Material",
"description": "Controls the block type used for the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
}
}
}

View File

@@ -23,7 +23,7 @@
"minecraft:overworld_height": { "$ref": "./components/overworld_height.json" },
"minecraft:replace_biomes": { "$ref": "./components/replace_biomes.json" },
"minecraft:surface_material_adjustments": { "$ref": "./components/surface_material_adjustments.json" },
"minecraft:surface_parameters": { "$ref": "./components/surface_parameters.json" },
"minecraft:surface_builder": { "$ref": "./components/surface_builder.json" },
"minecraft:swamp_surface": { "$ref": "./components/swamp_surface.json" },
"minecraft:tags": { "$ref": "./components/tags.json" },
"minecraft:the_end_surface": { "$ref": "./components/the_end_surface.json" }