Jump to content

My structure generates only in the water


Vintagebob

Recommended Posts

Hello everyone :D,

Can someone help me to generate my structures right?

The structure is one, wich has a top on the surface, and then a underground-part. I the .json file i write all right (in my oppinion), and i set the inside-block-codes-parameter to grass and not to water, but the struktures keep generating there!

Here some examplepictures:

2021-10-04_21-53-21.png.1f286b7e4bf3f28b10e7058b673e0108.png2021-10-04_21-54-33.png.f1a1a886e653e3419103d084f4a4eb49.png2021-10-04_21-54-35.png.05af49310b648ccc8396516388681f16.png

 

I dont understand where the mistake is.

Here the .json code:

[
  {
    "op": "add",
    "path": "/structures/-",
    "value": {
      "code": "dungeon1",
      "offsetY": -84,
      "chance": 0.5,
      placement: "surface",
      "schematics": ["dungeon1"],
      inblockcodes: ["soil-medium-normal", "soil-low-normal", "soil-verylow-normal"],
    },
    "file": "game:worldgen/structures.json"
  },
]

If someone could help me, it would be gratefull! xD

Thank you

Spoiler

 

Edited by Vintagebob
Link to comment
Share on other sites

@I33tmaan, yes, i took a look to chaoslands, and in my mod i have shipwrecks too,  and they generate like it schould be. But there i dont use the "offsetY" parameter (or minimal, -1 or so). Maybe this is the reason, maybe the block to generate on is  84 blocks beneath, and there is no grass, and because of that its bugging. But i dont know, how to do it in an other way. 😕

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.