Archive incari-client (client, 26.3, clean)

This commit is contained in:
2026-11-28 00:54:38 -06:00
parent 7a6174687f
commit 12838e838c
2383 changed files with 280266 additions and 0 deletions
@@ -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 18:36:09 -0400
Subject: [PATCH] voice: Open voice chat's screen from the pause menu
diff --git a/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java b/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
index 8a9c67674a1c3d9f33f0968937f3ad3bdc381429..5e09adac1d8ad230b9355134dd9ae4a28fd76b8a 100644
--- a/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
+++ b/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
@@ -156,2 +156,5 @@
helper.addChild(iconButtonRow, 2, gridLayout.newCellSettings().alignHorizontallyCenter());
+ // Incari start: voice chat's screen, on a server with Eagler voice
+ incari.client.eagler.VoiceScreen.addPauseButton(helper, this);
+ // Incari end
Optional<? extends Holder<Dialog>> additions = this.getCustomAdditions();
@@ -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 18:36:09 -0400
Subject: [PATCH] voice: Show who is talking in the HUD
diff --git a/src/main/java/net/minecraft/client/gui/Hud.java b/src/main/java/net/minecraft/client/gui/Hud.java
index 35c23b1f1784381744b15753da5c79ea9dc01754..9cfdf35e1a7cb3e6b51f385658ec9bd62c4f6a60 100644
--- a/src/main/java/net/minecraft/client/gui/Hud.java
+++ b/src/main/java/net/minecraft/client/gui/Hud.java
@@ -236,2 +236,5 @@
this.extractTitle(graphics, deltaTracker);
+ // Incari start: who is talking in voice chat
+ incari.client.eagler.VoiceOverlay.extract(graphics);
+ // Incari end
this.extractChat(graphics, deltaTracker);
@@ -0,0 +1,27 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: incari-client <335801235+incari-client@users.noreply.github.com>
Date: Fri, 9 Oct 2026 20:10:42 -0400
Subject: [PATCH] voice: Voice chat in a panel at the pause menu's top right
The pause menu's "Voice Chat..." button gives way to a panel in the
corner, where Eagler's 1.8 client has its voice controls: the channel in
one click, who is connected and talking, mute toggles, and a link to the
full settings. The same hook draws an Eagler server's icons over the
menu's buttons.
diff --git a/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java b/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
index 5e09adac1d8ad230b9355134dd9ae4a28fd76b8a..52546a6e322ccbe79c24d5d3893a57fad27be3ef 100644
--- a/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
+++ b/src/main/java/net/minecraft/client/gui/screens/PauseScreen.java
@@ -156,5 +156,2 @@
helper.addChild(iconButtonRow, 2, gridLayout.newCellSettings().alignHorizontallyCenter());
- // Incari start: voice chat's screen, on a server with Eagler voice
- incari.client.eagler.VoiceScreen.addPauseButton(helper, this);
- // Incari end
Optional<? extends Holder<Dialog>> additions = this.getCustomAdditions();
@@ -183,2 +180,5 @@
gridLayout.visitWidgets(this::addRenderableWidget);
+ // Incari start: voice chat's panel in the top right, and an Eagler server's icons over the buttons
+ incari.client.eagler.PauseMenuHooks.addOverlays(this, this::addRenderableWidget, this::addRenderableOnly);
+ // Incari end
}