FamroFexl / Circumnavigate

Finite, Tiled, Seamless World Wrapping Mod for Minecraft.
https://modrinth.com/project/circumnavigate
GNU Affero General Public License v3.0
18 stars 1 forks source link

[Bug]: View distance linked to size of world #7

Closed KuraLychee closed 2 weeks ago

KuraLychee commented 2 weeks ago

Describe the Bug

View distance unable to be increased on smaller worlds, for instance, a world with a -4, 4, -4, 4 boundary will leave you unable to see past a few chunks before seeing fog, I'm unaware if this is intentional or not, if so, a toggle or a config might be beneficial

Mod version(s) affected

Both 0.1 and 0.2

Mod loader(s) used

Fabric

Minecraft version(s) used

1.20.4

Other mods used

Fabulously Optimized 5.10.3 (An optimization modpack)

To Reproduce (If applicable)

  1. Go into world creation
  2. Select wrapped world option
  3. Set border to something small (Like -8, 8, -8, 8, or -4, 4, -4, 4)
  4. Load world

Additional Information

No response

FamroFexl commented 2 weeks ago

This is intentional. When the view distance was not limited to world size, the client would stop loading incoming chunks and glitch out past the last loaded chunk. The fog was modified to keep the player from seeing the obvious edges of the world. While this modified fog rendering isn't necessary, it keeps vanilla parity.

Chunks can only be loaded if they aren't loaded, meaning they have to be unloaded before they can be loaded again (see comment). Extending the view distance beyond the world bounds would mean chunks would have to be loaded twice. If I were somehow able to make them load twice, this would likely remove vanilla client compatibility for a niche effect.