How i can update on tick naturally generated blocks? (structures)

Started by AndreychelQx on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How i can update on tick naturally generated blocks? (structures)

Before 2023.4 you can use "On structure Instance" type procedure to schedule block updating, but, after 2023.4 update you can't. I have structures with many blocks which have to be triggered on block update tick, and now they are "dead" and not ticking. Who can help?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try doing stuff as…
Wed, 04/10/2024 - 14:22

You could try doing stuff as world-features instead? That's how I got around this. For my structure, I have a single block that the game force-ticks on loading, which then places the structure- because the structure is placed post generation, it's technically not naturally generated, and the blocks tick like normal. This is accomplished with the 'schedule update tick' function. Depending on how many blocks you need to trigger, you might be able to run this on structure generation? I've just found the world features method to generally be easier.