#Infinite room based generation
1 messages · Page 1 of 1 (latest)
More information if needed, game version 1.21.11, want to achieve making multiple custom dimensions built out of interlocking randomised rooms.
This gets asked pretty regularly. You can check this thread for starters, and then come back here for further clarity if needed
https://discord.com/channels/935560260725379143/1471395433120268424
If you don't already know how to make custom structures, we have a guide here:
https://www.planetminecraft.com/blog/custom-structure-gen-documentation/
How do I fix my structures being all misaligned, and the holes in them?
your jigsaws are offset
wait a second, your structures don't have a center
this means there is no propper way to align jigsaws correctly
How do I add a centre?
Place a Jigsaw block in the middle (or wherever you want the game to think the center of your structure is), give it a Name, leave the rest of the fields the way they are, and then list that name as the start_jigsaw_name in the structure JSON
It's a 16x16 structure, would I put it on 1 of the 4 middle blocks or is a corner of the structure better
One of the middle blocks
it made it better, but there are still misalignments.
Yeah, unfortunately since chunks have even-sized borders, it's hard to get things to line up like this well. I do believe odd-sized rooms offer more consistency
how come the bars are not connecting to the wall? (jigsaw placing details into a structure)
Depending on exactly how they're being placed, they're not getting block updates
I have an upwards facing jigsaw connecting to a downwards facing jigsaw on both the base room and the bars.
And the bars are a structure piece?
seperate structure yes
Yeah that would be why then
there is a base room structure, and like 15 seperate bar structures
That doesn't produce a block update
is there a better way then?
If you want them to connect, I believe you can use a block column feature instead
Or you could save the structure with the desired connections present
And just make sure the vertical jigsaw blocks are oriented correctly and set to aligned
why are my jigsaws not working? when placing it just leaves an air block where the jigsaw for the door should have placed.
There may not be enough space inside the parent structure for the child structure to fit without intersecting bounding boxes
That was the issue, just had to make parent slightly larger