Files
MinecraftForge/patches/minecraft/net/minecraft/client/renderer/LightTexture.java.patch
T
44c689f171 Forge 1.19.4
Properly move `ServerStatusPing` to codec
Reimplement custom display contexts

Co-authored-by: Matyrobbrt <[email protected]>
Co-authored-by: coehlrich <[email protected]>
Signed-off-by: SizableShrimp <[email protected]>
2023-03-14 17:22:27 -05:00

21 lines
758 B
Diff

--- a/net/minecraft/client/renderer/LightTexture.java
+++ b/net/minecraft/client/renderer/LightTexture.java
@@ -135,6 +_,8 @@
}
}
+ clientlevel.m_104583_().adjustLightmapColors(clientlevel, p_109882_, f, f7, f8, j, i, vector3f1);
+
if (f5 > 0.0F) {
float f13 = Math.max(vector3f1.x(), Math.max(vector3f1.y(), vector3f1.z()));
if (f13 < 1.0F) {
@@ -192,7 +_,7 @@
}
public static int m_109883_(int p_109884_) {
- return p_109884_ >> 4 & '\uffff';
+ return (p_109884_ & 0xFFFF) >> 4; // Forge: Fix fullbright quads showing dark artifacts. Reported as MC-169806
}
public static int m_109894_(int p_109895_) {