Vintagebob Posted October 13, 2021 Report Posted October 13, 2021 Hi everyone, i need help (again). How i can generate the buttom part of a structure under the ground? I think with the offsetY parameter, but it doesn't work! Here is the code: [ { "op": "add", "path": "/structures/-", "value": { code: "omniummoddungeon1", chance: 1, schematics: ["dungeon1"], replacewithblocklayers: ["soil-normal-normal", "soil-low-normal"], offsetY: -84 }, "file": "game:worldgen/structures.json" }, ] It generates all on the surface, and then i have bunch of 84-block tall mountains all over the world. Pls. can somebody help me, Thank you
Buggi Posted October 28, 2021 Report Posted October 28, 2021 Well you replacewithblocklayers is only going to place it at the surface. Maybe try: [ { "op": "add", "path": "/structures/-", "value": { code: "omniummoddungeon1", chance: 1, schematics: ["dungeon1"], placement: "underground", offsetY: -84 }, "file": "game:worldgen/structures.json" }, ]
Vintagebob Posted November 1, 2021 Author Report Posted November 1, 2021 No, this isnt working :/. If i try this, the world looks like this: and when i change offsetY from -84 to 84, the structures generate above the surface: But thanks for answer me
Buggi Posted November 8, 2021 Report Posted November 8, 2021 Wish the dev's would chime in on this, would help make others enhance world-gen a bit to encourage exploration. 1
NiclAss Posted August 25, 2022 Report Posted August 25, 2022 The problem should be solved if you define the placement: "placement": "surface", The default is "surfaceruin" or something like that. Surfaceruin doesn't respond well to OffsetY changes and has a default of - 2-3 y
Recommended Posts