From 0c195fef9fef010539043db1dee43f4695826441 Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Mon, 2 Dec 2024 17:45:08 -0800 Subject: [PATCH] Manual light updates - Update the BakedModelBufferers to default to zero sky light --- .../flywheel/lib/model/baked/BakedModelBufferer.java | 2 +- .../flywheel/lib/model/baked/BakedModelBufferer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java b/fabric/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java index 474e31fbe..23c63a041 100644 --- a/fabric/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java +++ b/fabric/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java @@ -144,7 +144,7 @@ final class BakedModelBufferer { } private static class ThreadLocalObjects { - public final FabricOriginBlockAndTintGetter level = new FabricOriginBlockAndTintGetter(p -> 0, p -> 15); + public final FabricOriginBlockAndTintGetter level = new FabricOriginBlockAndTintGetter(p -> 0, p -> 0); public final PoseStack identityPoseStack = new PoseStack(); public final RandomSource random = RandomSource.createNewThreadLocalInstance(); diff --git a/forge/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java b/forge/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java index b90004b91..b67ac8b7f 100644 --- a/forge/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java +++ b/forge/src/lib/java/dev/engine_room/flywheel/lib/model/baked/BakedModelBufferer.java @@ -145,7 +145,7 @@ final class BakedModelBufferer { } private static class ThreadLocalObjects { - public final OriginBlockAndTintGetter level = new OriginBlockAndTintGetter(p -> 0, p -> 15); + public final OriginBlockAndTintGetter level = new OriginBlockAndTintGetter(p -> 0, p -> 0); public final PoseStack identityPoseStack = new PoseStack(); public final RandomSource random = RandomSource.createNewThreadLocalInstance();