This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to edge checks for loading and generating light
While it might appear at first glance that the vanilla chunk system makes a guarantee that 1 radius chunks are loaded for lighting, this isn't actually the case. In fact, no chunks could be loaded! And yet, the light function is actually required to be completed still! The only way we can do this is with edge checks. In the 1.17 snapshots, it looks like chunk loading doesn't load 1 radius chunks - which means our logic to require 1 radius just has to go. In order to ensure that this new behavior doesn't cause lighting problems on chunk edges, chunk loading now does edge checks. At this point, the entire codebase is 1.17 ready and likely ready to be published on curseforge.
- Loading branch information
1 parent
16e8819
commit 7dc6c0b
Showing
10 changed files
with
383 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.