kami-blue / client

ARCHIVED - KAMI Blue: a continuation of 1.12.2 KAMI
https://kamiblue.org
GNU Lesser General Public License v3.0
360 stars 379 forks source link

Freecam is having some problems loading chunks #1633

Closed Natan515 closed 3 years ago

Natan515 commented 3 years ago

Describe the bug When u go on freecam chunks just become laggy, hard to explain, watch my vid for a straight explaining.

To Reproduce

  1. Go to 'freecam on kamiblue'
  2. Click on 'activate it.'
  3. look at ur player as he moves
  4. See how chunks don't load compare to other utility mods freecam

Expected behavior It should just load everything in 5 chunks from the player, like every other freecam.

Screenshots https://www.youtube.com/watch?v=BkJTD-YUfR0&feature=youtu.be

Additional context Pretty annoying normally, the only reason I use pyro freecam.

5HT2 commented 3 years ago

culling issue probably

Luna5ama commented 3 years ago

No, just force it reload chunk on enable should fix it

zeroeightysix commented 3 years ago

No, just force it reload chunk on enable should fix it

No - this really is culling. Minecraft omits parts of chunks from rendering, e.g. caves underground when it knows it's impossible for the player to see them (as a performance optimisation). However, it disables this behaviour when the player is in spectator mode AND in an opaque block. In 1.16.4 I know there's a field in Minecraft that also allows you to disable chunk culling, but I don't know if that exists in 1.12.2.

5HT2 commented 3 years ago

The old freecam disabled culling in freecam with a Mixin, wouldn't be too trivial to find it

Luna5ama commented 3 years ago

The old freecam disabled culling in freecam with a Mixin, wouldn't be too trivial to find it

It already does it

5HT2 commented 3 years ago

:moyai:

Natan515 commented 3 years ago

Thank you! (;