Archive incari-client (client, 26.3, clean)
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
Date: Tue, 29 Sep 2026 08:00:03 -0400
|
||||
Subject: [PATCH] skins: Draw players' Eagler skins on Eagler servers
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/client/multiplayer/PlayerInfo.java b/src/main/java/net/minecraft/client/multiplayer/PlayerInfo.java
|
||||
index 9356f5edb9f4112283dac54d765953e284709baa..63e5dd0574eb8dd0c15d462afc4b296c17af0e53 100644
|
||||
--- a/src/main/java/net/minecraft/client/multiplayer/PlayerInfo.java
|
||||
+++ b/src/main/java/net/minecraft/client/multiplayer/PlayerInfo.java
|
||||
@@ -33,3 +33,5 @@
|
||||
boolean requireSecure = !minecraft.isLocalPlayer(profile.id());
|
||||
- return minecraft.getSkinManager().createLookup(profile, requireSecure);
|
||||
+ // Incari start: on Eagler servers, skins come from the server by UUID
|
||||
+ return incari.client.skins.EaglerSkins.lookup(profile, minecraft.getSkinManager().createLookup(profile, requireSecure));
|
||||
+ // Incari end
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
Date: Tue, 29 Sep 2026 08:00:03 -0400
|
||||
Subject: [PATCH] skins: Open Edit Profile from skin customisation
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/client/gui/screens/options/SkinCustomizationScreen.java b/src/main/java/net/minecraft/client/gui/screens/options/SkinCustomizationScreen.java
|
||||
index 46a67070b0bf5bd2afac52d0ae105dfc16870abb..5274680e9246747e19aba1abd4428f85da788ea0 100644
|
||||
--- a/src/main/java/net/minecraft/client/gui/screens/options/SkinCustomizationScreen.java
|
||||
+++ b/src/main/java/net/minecraft/client/gui/screens/options/SkinCustomizationScreen.java
|
||||
@@ -30,2 +30,5 @@
|
||||
widgets.add(this.options.mainHand().createButton(this.options));
|
||||
+ // Incari start: Edit Profile (the name and skin)
|
||||
+ widgets.add(incari.client.profile.ProfileScreen.button(this));
|
||||
+ // Incari end
|
||||
this.list.addSmall(widgets);
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
Date: Sat, 7 Nov 2026 12:09:08 -0500
|
||||
Subject: [PATCH] skins: Skin and player-head textures download through the
|
||||
platform
|
||||
|
||||
The browser build has no URLConnection, so every texture a profile
|
||||
names (custom heads such as Slimefun's items, players' Mojang skins
|
||||
and capes) failed and stayed the default.
|
||||
|
||||
Signed-off-by: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/client/renderer/texture/SkinTextureDownloader.java b/src/main/java/net/minecraft/client/renderer/texture/SkinTextureDownloader.java
|
||||
index bfd934b88617d08a7e7378fdf294a93a4ac4b858..b7a12d99b21b55987bef6232f39d34a250aec672 100644
|
||||
--- a/src/main/java/net/minecraft/client/renderer/texture/SkinTextureDownloader.java
|
||||
+++ b/src/main/java/net/minecraft/client/renderer/texture/SkinTextureDownloader.java
|
||||
@@ -43,3 +43,5 @@
|
||||
try {
|
||||
- loadedSkin = this.downloadSkin(localCopy, texture.url());
|
||||
+ // Incari start: fetched through the platform (the browser build has no URLConnection)
|
||||
+ loadedSkin = incari.client.skins.SkinDownloads.read(localCopy, texture.url());
|
||||
+ // Incari end
|
||||
} catch (IOException e) {
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
Date: Fri, 13 Nov 2026 22:10:18 -0500
|
||||
Subject: [PATCH] skins: Profile textures read without Mojang's services
|
||||
|
||||
With Mojang's services off, the session service has no texture host
|
||||
list or keys, so every skin and custom head stayed the default.
|
||||
|
||||
Signed-off-by: incari-client <335801235+incari-client@users.noreply.github.com>
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/client/resources/SkinManager.java b/src/main/java/net/minecraft/client/resources/SkinManager.java
|
||||
index 26dfcdffa8e77cc24db21ada0f564366298736ac..27a1bad4c5a52dbb8cddec953c9e604868b4b738 100644
|
||||
--- a/src/main/java/net/minecraft/client/resources/SkinManager.java
|
||||
+++ b/src/main/java/net/minecraft/client/resources/SkinManager.java
|
||||
@@ -59,3 +59,5 @@
|
||||
|
||||
- MinecraftProfileTextures textures = services.sessionService().unpackTextures(packedTextures);
|
||||
+ // Incari start: read without Mojang's services where they're off
|
||||
+ MinecraftProfileTextures textures = incari.client.skins.ProfileTextures.unpack(services, packedTextures);
|
||||
+ // Incari end
|
||||
if (textures.signatureState() == SignatureState.INVALID) {
|
||||
Reference in New Issue
Block a user