Merge branch '1.18.X' of https://gitlab.com/jeseibel/minecraft-lod-mod into 1.18.X
This commit is contained in:
@@ -146,7 +146,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
|
||||
|
||||
// generate the block's color
|
||||
// for (int frameIndex = 0; frameIndex < texture.getFrameCount(); frameIndex++)
|
||||
boolean lookForTint = grassInstance() || leavesInstance() || waterInstance();
|
||||
boolean lookForTint = grassInstance() || leavesInstance();
|
||||
|
||||
int frameIndex = 0; // TODO
|
||||
{
|
||||
@@ -203,7 +203,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
|
||||
}
|
||||
|
||||
// determine if this block should use the biome color tint
|
||||
if (lookForTint && (float) numberOfGreyPixel / count > 0.75f)
|
||||
if ((lookForTint && (float) numberOfGreyPixel / count > 0.75f) || waterInstance())
|
||||
this.toTint = true;
|
||||
|
||||
// we check which kind of tint we need to apply
|
||||
|
||||
Reference in New Issue
Block a user