Files
Eagler-Archive/incari-client/files/patches/gui/0156-keep-a-skin-s-picture-while-it-holds-still.patch

19 lines
1.0 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: incari-client <335801235+incari-client@users.noreply.github.com>
Date: Sun, 11 Oct 2026 13:48:46 -0400
Subject: [PATCH] gui: Keep a skin's picture while it holds still
diff --git a/src/main/java/net/minecraft/client/gui/render/pip/GuiSkinRenderer.java b/src/main/java/net/minecraft/client/gui/render/pip/GuiSkinRenderer.java
index 8014e95a1bd5e6b4bcb5ddffe530f13833f1e249..fcd0f78eda44d5e26a96d627cb39425972a8733b 100644
--- a/src/main/java/net/minecraft/client/gui/render/pip/GuiSkinRenderer.java
+++ b/src/main/java/net/minecraft/client/gui/render/pip/GuiSkinRenderer.java
@@ -28,2 +28,7 @@
+ // Incari start: the picture kept while the model holds still (SkinPictures)
+ private final incari.client.gui.SkinPictures.Last incariLast = new incari.client.gui.SkinPictures.Last();
+ @Override protected boolean textureIsReadyToBlit(final GuiSkinRenderState skinState) { return this.incariLast.unchanged(skinState); }
+ // Incari end
+
@Override