[HOW TO] Update Structures on Spawn!

Started by SuperBully on Mon, 07/13/2020 - 08:39

Topic category: User side tutorials

Last seen on 16:30, 6. Dec 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[HOW TO] Update Structures on Spawn!
Mon, 07/13/2020 - 08:40 (edited)

I have found a solution to the update tick not working on structure generation I've seen a lot of people having a problem with;

For context, any block naturally generated throughout the world will not start doing update ticks to prevent lag. This is a problem for a lot of types of randomly generated structures.

I wanted to create a simple randomized structure, that had a block have a random chance of being a certain different block to give some variation. So I went ahead and created a block that had a random chance of turning into either block on an update tick, so that as soon as it spawned, it would activate, but of course that didn't work.

So after many attempts at coming up with a solution, I finally found one: Update Sand!

1: Make a block that doesn't appear in your creative inventory, and make sure that it can float one block above the block that needs to be updated, then build your structure with the updated sand one block above it.

2: After you have saved your structure file, enable the gravity back onto the update sand so that when it generates, the sand will fall and update your other blocks.

3: Make sure to add your 'update tick' procedure to on 'neighbour block changed' for your original block so that if you have a big group you only need to use one sand.

4: Then, using the procedure in the image below, have the sand delete itself on updatetick and you're good to go!

https://imgur.com/a/XhMDcCi

I know this solution might not work in every situation but it should fix most

Edited by SuperBully on Mon, 07/13/2020 - 08:40
Last seen on 10:41, 23. Jan 2021
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This might help me with a…
Mon, 11/30/2020 - 16:05

This might help me with a problem I'm having. Its great to see that Im not alone with this issue!

Last seen on 04:20, 23. Jan 2021
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks! This is exactly what…
Sat, 01/02/2021 - 21:11

Thanks! This is exactly what I needed. Although you don't need the procedure to delete the fallen block if you have your structure generate over it, I guess if anyone is reading this you can save some of your time by making your structure generate over the sand type block.