Minor
This commit is contained in:
1 parent
6e274e1105
commit
cd4228285f
2 files changed
+4
-4
No files matched your search
@@ -47,4 +47,4 @@ public class SodiumPreLaunch {
|
||||
|
||||
return cur.compareTo(min) >= 0 && cur.compareTo(max) <= 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,7 +55,7 @@ public class FluidRenderer {
|
||||
private final ColorBlender colorBlender;
|
||||
|
||||
// Cached wrapper type that adapts FluidRenderHandler to support QuadColorProvider<FluidState>
|
||||
private final FabricFluidColorizerAdapter fabricColorProviderAdapter = new FabricFluidColorizerAdapter();
|
||||
private final ForgeFluidColorizerAdapter forgeColorProviderAdapter = new ForgeFluidColorizerAdapter();
|
||||
|
||||
private final QuadLightData quadLightData = new QuadLightData();
|
||||
private final int[] quadColors = new int[4];
|
||||
@@ -381,7 +381,7 @@ public class FluidRenderer {
|
||||
}
|
||||
|
||||
private ColorSampler<FluidState> createColorProviderAdapter(BlockRenderView view, BlockPos pos, FluidState state) {
|
||||
FabricFluidColorizerAdapter adapter = this.fabricColorProviderAdapter;
|
||||
ForgeFluidColorizerAdapter adapter = this.forgeColorProviderAdapter;
|
||||
adapter.setHandler(view, pos, state);
|
||||
|
||||
return adapter;
|
||||
@@ -494,7 +494,7 @@ public class FluidRenderer {
|
||||
return -1.0f;
|
||||
}
|
||||
|
||||
private static class FabricFluidColorizerAdapter implements ColorSampler<FluidState> {
|
||||
private static class ForgeFluidColorizerAdapter implements ColorSampler<FluidState> {
|
||||
private BlockRenderView world;
|
||||
private BlockPos pos;
|
||||
private FluidState state;
|
||||
|
||||
Reference in new issue
Block a user