Started by _dyneee on Fri, 02/03/2023 - 20:13
Topic category: Advanced modding
Hello everyone I create an interesting project and sometimes use MCreator. How to make an endless spawn of identical structures one after another, without missing? That is: 1 structure ended, the same new one began, and so on to the border of the world.
P.S. Sorry for the crooked English, I'm not English and used a translator(((
Create a block that generates one of a placeholder structure when placed. Create a gamerule that is TRUE by default but will make said block not work when FALSE.
Create a world.
Set the gamerule to FALSE.
Build the structure you actually want, and include one of these blocks on the end. Make sure it is at the right corner.
Save this as your structure.
Exit the test environment and replace the placeholder structure with the one you just saved in the procedure.
Re-enter the test environment and create a different world.
Keep the gamerule TRUE.
Place down one of your block.
If it works properly, it should continue generating structures to infinity in one direction.
To generate this naturally, just use procedures to generate one of the block somewhere. If it doesn't update for some reason, then set the build structure procedure to go every tick and set the tick rate to 1. If that doesn't work, then make the block obey gravity and generate it 1 block above the ground.
(Note: If you use MCreator's structure generator to put your block somewhere, you cannot enable rotation or mirroring, or the first link of your infinite chain will be oddly rotated or offset relative to the other links in the chain.)
Let me know if it doesn't work.