Infinite structure generation

Started by _dyneee on

Topic category: Advanced modding

Last seen on 22:44, 27. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Infinite structure generation

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(((

Last seen on 00:07, 8. Apr 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a block that…
Sun, 02/05/2023 - 14:34

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.