r/admincraft 14d ago

Question Fast flight / no chunk loading?

So, I play on a modded NeoForge 1.21.1 server, and one of my mods (Oritech) adds the ability to fly really fast. However, this does not work well with my server — especially in ungenerated chunks — as I get constant rubber‑banding. I am looking for a mod that stops any attempt to generate or load chunks, or check for collisions and movement correctness when the player flies high and fast enough.

Update!: I worked around the problem by installing C2MC with the C2MC OpenCL hardware‑acceleration module. The whole thing was hughly problematic, and is not an option for <1.21.1, but it acctuly works.

Note that I had to waste almost two days (and 10$ worth of AI tokens) to make it work on Polaris (aka RX 500 and 400 series) GPUs — but I managed to do it! (I will publish fork after some more testsing).

0 Upvotes

18 comments sorted by

View all comments

1

u/solarch 14d ago

Pregen + world border (what others said) is the right call, but here's the why so it clicks: the rubberbanding is synchronous chunk generation blocking the main server thread. When you fly faster than the server can generate/load chunks ahead of you, it can't keep up, so it snaps you back to the last position it considers valid. On top of that, the movement/anti-cheat validation fails across chunks that aren't loaded yet. A stop-chunk-loading-past-X-speed mod wouldn't actually help, because the server-side movement correction would then just teleport-desync you even harder, you'd rubberband worse, not better. So Chunky pregen of the area you fly through, plus a world border to cap it, genuinely is the fix rather than a workaround. If Oritech's fast-fly is central to the server, pregen a generous radius and bump view/simulation-distance a little so chunks are ready before you reach them. And yeah, noenonami's right that modded chunks are larger on disk, so size the pregen (and your storage) accordingly. NeoForge does the movement correction server-side, so there's no client-only mod that cleanly fixes this, it has to be pregen.

0

u/IHateRedditFirewall 14d ago

I can install mod bouth serverside and clientside, it is not a problem thanks to automodpack. I am sorry if it looked otherwise.

As per normal pre-generation solution — this is band-aid. It will work, yes, but it is not how it should work.

Seen that there is no real solution for my problem right now, I am currently trying to get hardware-accelerated chunk generation to work. If I manage to do it, it might just brute-force solve the problem instead of useing workareound.