Small reword
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.Map;
|
|||||||
public class LightingFetcher {
|
public class LightingFetcher {
|
||||||
//TODO: FIXME: I dont think the 2 codepaths are needed, just do what you do for starlight for vanilla and it should work just fine
|
//TODO: FIXME: I dont think the 2 codepaths are needed, just do what you do for starlight for vanilla and it should work just fine
|
||||||
|
|
||||||
private static boolean STARLIGHT_INSTALLED = FabricLoader.getInstance().isModLoaded("starlight");
|
private static final boolean STARLIGHT_INSTALLED = FabricLoader.getInstance().isModLoaded("starlight");
|
||||||
private static void fetchLightingDataVanilla(Map<Long, Pair<ChunkNibbleArray, ChunkNibbleArray>> out, WorldChunk chunk) {
|
private static void fetchLightingDataVanilla(Map<Long, Pair<ChunkNibbleArray, ChunkNibbleArray>> out, WorldChunk chunk) {
|
||||||
var lp = chunk.getWorld().getLightingProvider();
|
var lp = chunk.getWorld().getLightingProvider();
|
||||||
var blockLight = lp.get(LightType.BLOCK);
|
var blockLight = lp.get(LightType.BLOCK);
|
||||||
|
|||||||
@@ -8,14 +8,14 @@
|
|||||||
"minecraft.MixinDebugHud",
|
"minecraft.MixinDebugHud",
|
||||||
"minecraft.MixinMinecraftClient",
|
"minecraft.MixinMinecraftClient",
|
||||||
"minecraft.MixinWorldRenderer",
|
"minecraft.MixinWorldRenderer",
|
||||||
"sodium.MixinSodiumWorldRender"
|
"sodium.MixinSodiumWorldRender",
|
||||||
|
"sodium.MixinDefaultChunkRenderer",
|
||||||
|
"sodium.MixinRenderSectionManager",
|
||||||
|
"nvidium.MixinRenderPipeline"
|
||||||
],
|
],
|
||||||
"injectors": {
|
"injectors": {
|
||||||
"defaultRequire": 1
|
"defaultRequire": 1
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"nvidium.MixinRenderPipeline",
|
|
||||||
"sodium.MixinDefaultChunkRenderer",
|
|
||||||
"sodium.MixinRenderSectionManager"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user