Manual light updates

- Update the BakedModelBufferers to default to zero sky light
This commit is contained in:
Jozufozu 2024-12-02 17:45:08 -08:00
parent e1ddd7c2fc
commit 0c195fef9f
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ final class BakedModelBufferer {
} }
private static class ThreadLocalObjects { 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 PoseStack identityPoseStack = new PoseStack();
public final RandomSource random = RandomSource.createNewThreadLocalInstance(); public final RandomSource random = RandomSource.createNewThreadLocalInstance();

View file

@ -145,7 +145,7 @@ final class BakedModelBufferer {
} }
private static class ThreadLocalObjects { 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 PoseStack identityPoseStack = new PoseStack();
public final RandomSource random = RandomSource.createNewThreadLocalInstance(); public final RandomSource random = RandomSource.createNewThreadLocalInstance();