mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:06:11 +03:00
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
--- a/com/mojang/blaze3d/vertex/VertexConsumer.java
|
|
+++ b/com/mojang/blaze3d/vertex/VertexConsumer.java
|
|
@@ -14,7 +_,7 @@
|
|
import org.lwjgl.system.MemoryStack;
|
|
|
|
@OnlyIn(Dist.CLIENT)
|
|
-public interface VertexConsumer {
|
|
+public interface VertexConsumer extends net.minecraftforge.client.extensions.IForgeVertexConsumer {
|
|
VertexConsumer m_5483_(double p_85945_, double p_85946_, double p_85947_);
|
|
|
|
VertexConsumer m_6122_(int p_85973_, int p_85974_, int p_85975_, int p_85976_);
|
|
@@ -101,11 +_,12 @@
|
|
f5 = afloat[k] * p_86001_;
|
|
}
|
|
|
|
- int l = aint[k];
|
|
+ int l = applyBakedLighting(p_86002_[k], bytebuffer);
|
|
float f9 = bytebuffer.getFloat(16);
|
|
float f10 = bytebuffer.getFloat(20);
|
|
Vector4f vector4f = new Vector4f(f, f1, f2, 1.0F);
|
|
vector4f.m_123607_(matrix4f);
|
|
+ applyBakedNormals(vector3f, bytebuffer, p_85996_.m_85864_());
|
|
this.m_5954_(vector4f.m_123601_(), vector4f.m_123615_(), vector4f.m_123616_(), f3, f4, f5, 1.0F, f9, f10, p_86003_, l, vector3f.m_122239_(), vector3f.m_122260_(), vector3f.m_122269_());
|
|
}
|
|
} catch (Throwable throwable1) {
|