Skip to content

Commit

Permalink
23w43a/b
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-makes committed Oct 29, 2023
1 parent 0e17568 commit f5f7a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public static void render(@Nullable Frustum frustum, PoseStack matrixStack, Matr
ChunkPos chunkPos = new ChunkPos(playerPos.x + x, playerPos.z + z);
for (int i = 0; i < world.getSectionsCount(); ++i) {
var chunkSection = SectionPos.of(chunkPos, world.getMinSection() + i);
if (frustum.isVisible(new AABB(chunkSection.origin().offset(-1, -1, -1), chunkSection.origin().offset(16,16,16)))) {
if (frustum.isVisible(AABB.encapsulatingFullBlocks(chunkSection.origin().offset(-1, -1, -1), chunkSection.origin().offset(16,16,16)))) {
if (cachedBuffers.containsKey(chunkSection)) {
BufferHolder cachedBuffer = cachedBuffers.get(chunkSection);
if (!cachedBuffer.isValid()) {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Xmx2048M

minecraft_version=1.20.2
minecraft_version=23w43a

fabric_enabled=true
forge_enabled=false
Expand All @@ -9,7 +9,7 @@ mod_version=2.1.2
maven_group=dev.schmarrn
archives_base_name=lighty

fabric_loader_version=0.14.22
fabric_api_version=0.89.0+1.20.2
fabric_loader_version=0.14.23
fabric_api_version=0.90.5+1.20.3

forge_version=1.20.1-47.0.1

0 comments on commit f5f7a89

Please sign in to comment.