Skip to content

Commit

Permalink
fix: Polytone issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IMB11 committed Aug 22, 2024
1 parent 91af258 commit d26ba6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
org.gradle.jvmargs=-Xmx1G

deps.loader=0.15.11
mod.version=2.2.0
mod.version=2.2.1
mod.name=SkinShuffle
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
import net.minecraft.client.model.Dilation;
import net.minecraft.client.model.ModelPart;
import net.minecraft.client.model.TexturedModelData;
import net.minecraft.client.render.DiffuseLighting;
import net.minecraft.client.render.OverlayTexture;
import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.*;
import net.minecraft.client.render.entity.model.PlayerEntityModel;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.util.math.MathHelper;
Expand Down Expand Up @@ -101,7 +98,7 @@ private static void renderEntity(MatrixStack matrices, float yaw, float pitch, S
model.render(
matrices,
vertexConsumers.getBuffer(RenderLayer.getEntityTranslucent(skin.getTexture())),
0,
LightmapTextureManager.MAX_LIGHT_COORDINATE,
OverlayTexture.DEFAULT_UV,
//? if >=1.21 {
0xFFFFFFFF
Expand Down

0 comments on commit d26ba6c

Please sign in to comment.