Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.93k stars 907 forks source link

Trains are not rendering outside simulation distance #6977

Open MightyBunch opened 1 month ago

MightyBunch commented 1 month ago

Description

On my server, the simulation distance is set to 10, and the render distance is set to 20 for optimization purposes. However, I noticed that trains only render when they are within 10 chunks of the player. After some testing, I found out that this is because trains don’t render when they are outside the simulated chunks, unlike other Create contraptions. Simulation distance 6: image Simulation distance 5 (the train disappeared, but the bearing didn’t): image The "entity render distance" option doesn’t fix this. I’m not sure if this behavior is intentional or not, but I don’t see why trains can’t be rendered when other contraptions can. It would be great if this could be fixed.

Game Log

https://mclo.gs/n5D4R0f

Debug Information

No response

IThundxr commented 1 month ago

Trains are special in the sense that they aren't real entities, they are mearly points on a graph. This allows them to work outside of loaded chunks but it also has the down side that they won't render outside of loaded chunks either since they end up not creating the fake entities to render the blocks. I'm not really sure if there's a good fix for this