Forever loop not running forever
I have set up a forever loop to display coords every 15 seconds in a multiplayer world. After a lot of running around (possibly agent being in an unloaded chunk idk), the coords stop showing. I press run again and still nothing. Sometimes it reappears, like traveling through the nether. I have not figured out the pattern yet, but some scenarios are like 2 people in same chunk, 2 people very far. 1 person in nether, 3 people in overworld, etc.
Thank you for your time
-
chunk probably wasnt loaded and the command block stopped running. if there is a /forceload command, i would recommend /forceload ~~ but i dont think it exists. the only way to keep that specific chunk loaded is to use a chunk loader.
0 -
If you arent repeatedly running /setworldspawn (for manhunts) then you can use a compass to direct you to the world spawn and put the command block there (spawn chunks are always loaded)
0 -
Edwin Ma would you be willing to share your code? I'm interested in what you are doing. Hope things are working out.
0 -
Spawn chunks are only in java edition.
Use /tickingzone command to keep the chunk ticking.
Make sure the command is on repeat always active.
0
Please sign in to leave a comment.
Comments
4 comments