
Procedurally generated facility
LtxProgrammer opened this issue ยท 6 comments
As title states, a randomly generated facility akin to a stronghold in Minecraft. Some foundation already exists for this in the mod's codebase: FacilityPieces.java
All the effort for creating the rooms need to be put off until the door issue #562. However, I will putting effort into the generation code. I've created a new block to aid in the structure aligning process changed:glu
. The generator will attempt to align jigsaw blocks and glu blocks face to face.
Naturally, the structures I already made for the facility are subject to change. Maybe add glu metadata to specify door size and if there is a vent to connect the rooms.
I may also need to adjust the placement bounding box check to allow an immediate child section to trespass into the parents bound box, to allow for interesting shaped rooms.
I should also mention I had planned for the majority of the facility to generate underground, with an entrance piece into it on the surface. I could explore generating an above ground building, however I must take care and consideration with the design of the rooms to be able to generate nicely looking on the outside.
The code for underground facility generation should be good, and all that remains is the facility pieces themselves, advanced configuration with generation, and some extra deco blocks.