Started by
TotalBlacksmith
on
Topic category: Troubleshooting, bugs, and solutions
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 operates on server-side, so actions that are not synced to client by the game may not work from the wait block
Is there anyway I can get around this? Or would I have to remove the wait procedure blocks?
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