20 lines
1.1 KiB
Diff
20 lines
1.1 KiB
Diff
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] eagler: Show an Eagler server's pause menu buttons
|
|
|
|
EaglerXServer's pause_menu.yml gives the menu a server info button and a
|
|
Discord button. Incari's ServerPauseMenu adds them below the row of icon
|
|
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 52546a6e322ccbe79c24d5d3893a57fad27be3ef..02aeb84f1c331aa080a5041fbc7e137d8b13884d 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: an Eagler server's own buttons (its pause_menu.yml)
|
|
+ incari.client.eagler.PauseMenuHooks.addButtons(helper);
|
|
+ // Incari end
|
|
Optional<? extends Holder<Dialog>> additions = this.getCustomAdditions();
|