Wait Procedure not working on blocks.

Started by TotalBlacksmith on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 23:35, 1. May 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait Procedure not working on blocks.

I have recently been in the process of updating my mod The Arcaneum from 1.16.5 to 1.20.4. The code for my altar blocks worked in 1.16.5 but has stopped working since updating to 1.20.4

 

I have been able to deduce that this code works when I remove the "wait 45 ticks" code block. I use similar code blocks to this that utilize the "wait block" but are attached to items instead of blocks and they work. 

 

Can anyone explain why this bug seems to only affect blocks? I hope someone can provide me with any possible solutions to the problem. Thank you.

Wait procedure block only…
Tue, 04/23/2024 - 08:02

Wait procedure block only operates on server-side, so actions that are not synced to client by the game may not work from the wait block

Last seen on 23:35, 1. May 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there anyway I can get…
Tue, 04/23/2024 - 19:32

Is there anyway I can get around this? Or would I have to remove the wait procedure blocks?

You could make custom delay…
Fri, 04/26/2024 - 09:50

You could make custom delay by using some synced variable type to count on tick.

E.g. for entity delay, use synced entity data and increment the value each entity tick and execute action after N increments