Started by
akisephila
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod that has expansive, procedurally generated structures. When a dungeon entrance generates, it's supposed to place a stairway structure underneath itself, place another stairway structure underneath that one, and then place hallways leading into rooms.
However, it does not even generate the stairway.
Please help.
Here's the procedure I'm using which is meant to generate the stairway.
BUmp.
Bump
Oh I did not know we couldn't bump, sorry if you saw any bumps i made
I mean, I feel like bump is okay, but for example after a month or sth, just to bring topic back to life. Making bump in the same day is just spam and useless, since usually you get answers for topics about ~1-3 days after publishing them.
You can make a living entity (make sure to disable ai, collision box and possibly spawn egg as well) before attaching a procedure to it go into a world with the mod loaded and create a structure file containing the entity. then save the structure do this for however many different rooms you would have.
Then for these entities create a procedure on their tick update which first despawns the entity and then places the desired structure as well as summons the other entities (which will then place their own structures) it needs to.
Now put the structure file containing the first entity as the file for your generated structure and then whenever the chunk containing the structure is loaded it will instantly spawn the structure.
Feel free to ask if something is unclear.
+1 Bashh, I use the same method and it works perfectly. If I could add anything more from myself, it is also good to condition their structure spawning to player being in range of, let's say, 100-160 blocks, so it has less chance to cut the structure if all chunks are not loaded yet.