diff --git a/src/main/java/net/coderbot/iris/mixin/compat/pixelmon/MixinNormalizedFace.java b/src/main/java/net/coderbot/iris/mixin/compat/pixelmon/MixinNormalizedFace.java index 019a442cc2..10369d9bf6 100644 --- a/src/main/java/net/coderbot/iris/mixin/compat/pixelmon/MixinNormalizedFace.java +++ b/src/main/java/net/coderbot/iris/mixin/compat/pixelmon/MixinNormalizedFace.java @@ -46,14 +46,6 @@ public void addFaceForRender(PoseStack matrixStack, VertexConsumer bufferBuilder Vector4f transformedPosition = pose.transform(new Vector4f(vertex.getX(partialTick), vertex.getY(partialTick), vertex.getZ(partialTick), 1.0F)); Vector3f transformedNormal = normal.transform(new Vector3f(vertex.getXN(partialTick), vertex.getYN(partialTick), vertex.getZN(partialTick))); bufferBuilder.vertex(transformedPosition.x(), transformedPosition.y(), transformedPosition.z(), r, g, b, a, this.textureCoordinates[i].u, this.textureCoordinates[i].v, packedOverlay, packedLight, transformedNormal.x(), transformedNormal.y(), transformedNormal.z()); - /*bufferBuilder.vertex(pose.m00() * this.vertices[i] - .getX(partialTick) + pose.m01() * this.vertices[i].getY(partialTick) + pose.m02() * this.vertices[i].getZ(partialTick) + pose.m03(), pose.m10() * this.vertices[i] - .getX(partialTick) + pose.m11() * this.vertices[i].getY(partialTick) + pose.m12() * this.vertices[i].getZ(partialTick) + pose.m13(), pose.m20() * this.vertices[i] - .getX(partialTick) + pose.m21() * this.vertices[i].getY(partialTick) + pose.m22() * this.vertices[i].getZ(partialTick) + pose.m23(), r, g, b, a, (this.textureCoordinates[i]).u, (this.textureCoordinates[i]).v, packedOverlay, packedLight, normal.m00 * this.vertices[i] - - .getXN(partialTick) + normal.m01 * this.vertices[i].getYN(partialTick) + normal.m02 * this.vertices[i].getZN(partialTick), normal.m10 * this.vertices[i] - .getXN(partialTick) + normal.m11 * this.vertices[i].getYN(partialTick) + normal.m12 * this.vertices[i].getZN(partialTick), normal.m20 * this.vertices[i] - .getXN(partialTick) + normal.m21 * this.vertices[i].getYN(partialTick) + normal.m22 * this.vertices[i].getZN(partialTick));*/ } } diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 3a15043c15..61971c2b12 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -23,6 +23,6 @@ provides = ["iris"] [[dependencies.oculus]] modId = "minecraft" mandatory = true -versionRange = "[1.20,)" +versionRange = "[1.20.1]" ordering = "NONE" side = "BOTH"