mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 07:20:02 +03:00
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
--- a/com/mojang/blaze3d/vertex/VertexConsumer.java
|
|
+++ b/com/mojang/blaze3d/vertex/VertexConsumer.java
|
|
@@ -12,7 +_,7 @@
|
|
import org.lwjgl.system.MemoryStack;
|
|
|
|
@OnlyIn(Dist.CLIENT)
|
|
-public interface VertexConsumer {
|
|
+public interface VertexConsumer extends net.minecraftforge.client.extensions.IForgeVertexConsumer {
|
|
VertexConsumer addVertex(float p_344294_, float p_342213_, float p_344859_);
|
|
|
|
VertexConsumer setColor(int p_342749_, int p_344324_, int p_343336_, int p_342831_);
|
|
@@ -135,10 +_,11 @@
|
|
}
|
|
|
|
int i1 = FastColor.ARGB32.color(k, (int)f3, (int)f4, (int)f5);
|
|
- int j1 = p_331444_[l];
|
|
+ int j1 = applyBakedLighting(p_331444_[l], bytebuffer);
|
|
float f10 = bytebuffer.getFloat(16);
|
|
float f9 = bytebuffer.getFloat(20);
|
|
Vector3f vector3f1 = matrix4f.transformPosition(f, f1, f2, new Vector3f());
|
|
+ applyBakedNormals(vector3f, bytebuffer, p_85988_.normal());
|
|
this.addVertex(vector3f1.x(), vector3f1.y(), vector3f1.z(), i1, f10, f9, p_85993_, j1, vector3f.x(), vector3f.y(), vector3f.z());
|
|
}
|
|
}
|