Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit eb8262e

Browse files
committed
Update Changelog & dependencies
1 parent ed0cc24 commit eb8262e

File tree

7 files changed

+38
-9
lines changed

7 files changed

+38
-9
lines changed

1.8.9/src/main/java/io/github/axolotlclient/modules/hud/gui/keystrokes/ConfigureKeyBindScreen.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
import net.minecraft.client.resource.language.I18n;
4747
import net.minecraft.util.math.MathHelper;
4848
import org.jetbrains.annotations.Nullable;
49+
import org.lwjgl.input.Keyboard;
4950

5051
public class ConfigureKeyBindScreen extends io.github.axolotlclient.AxolotlClientConfig.impl.ui.Screen {
5152

@@ -172,6 +173,15 @@ public void closeScreen() {
172173
hud.saveKeystrokes();
173174
}
174175

176+
@Override
177+
public boolean keyPressed(int keyCode, int scanCode, int modifiers) {
178+
if (keyCode == Keyboard.KEY_ESCAPE) {
179+
closeScreen();
180+
return true;
181+
}
182+
return super.keyPressed(keyCode, scanCode, modifiers);
183+
}
184+
175185
private static ClickableWidget textWidget(int x, int y, int width, int height, String message, TextRenderer textRenderer) {
176186
return new ClickableWidget(x, y, width, height, message) {
177187
@Override

1.8.9/src/main/java/io/github/axolotlclient/modules/hud/gui/keystrokes/KeystrokePositioningScreen.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import net.minecraft.client.gui.screen.Screen;
4141
import net.minecraft.client.gui.widget.ButtonWidget;
4242
import net.minecraft.client.resource.language.I18n;
43+
import org.lwjgl.input.Keyboard;
4344

4445
public class KeystrokePositioningScreen extends Screen {
4546
private static final String title = I18n.translate("keystrokes.stroke.move");
@@ -166,6 +167,13 @@ public void closeScreen() {
166167
hud.saveKeystrokes();
167168
}
168169

170+
@Override
171+
protected void keyPressed(char c, int code) {
172+
if (code == Keyboard.KEY_ESCAPE) {
173+
closeScreen();
174+
}
175+
}
176+
169177
@Override
170178
public void mouseReleased(int mouseX, int mouseY, int button) {
171179
if (focused != null) {

1.8.9/src/main/java/io/github/axolotlclient/modules/hud/gui/keystrokes/KeystrokesScreen.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import io.github.axolotlclient.modules.hud.gui.hud.KeystrokeHud;
2929
import net.minecraft.client.gui.screen.Screen;
3030
import net.minecraft.client.resource.language.I18n;
31+
import org.lwjgl.input.Keyboard;
3132

3233
public class KeystrokesScreen extends io.github.axolotlclient.AxolotlClientConfig.impl.ui.Screen {
3334

@@ -71,6 +72,15 @@ public void closeScreen() {
7172
hud.saveKeystrokes();
7273
}
7374

75+
@Override
76+
public boolean keyPressed(int keyCode, int scanCode, int modifiers) {
77+
if (keyCode == Keyboard.KEY_ESCAPE) {
78+
closeScreen();
79+
return true;
80+
}
81+
return super.keyPressed(keyCode, scanCode, modifiers);
82+
}
83+
7484
public void removeKey(KeystrokeHud.Keystroke key) {
7585
keys.remove(key);
7686
}

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
- Custom text-based HUD elements
88
- Add DebugCountersHud, displaying Counters from the F3 screen
99
- Add Bedwars resources HUD
10-
- update NickHider
11-
- add /playerstats command to display stats of hypixel gamemodes (`@Floweynt`)
12-
- move config file location
10+
- Update NickHider
11+
- Add /playerstats command to display stats of hypixel gamemodes (`@Floweynt`)
12+
- Move config file location
13+
- Add various additional options to some HUD elements
1314

1415
### 3.1.1
1516

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import java.nio.file.FileSystems
33
import kotlin.io.path.*
44

55
plugins {
6-
id("io.freefair.lombok") version "8.11" apply false
6+
id("io.freefair.lombok") version "8.12" apply false
77
id("com.modrinth.minotaur") version "2.+" apply false
88
id("com.gradleup.shadow") version "8.+" apply false
99
id("dev.yumi.gradle.licenser") version "2.0.+"
1010
id("io.github.p03w.machete") version "2.+" apply false
11-
id("fabric-loom") version "1.9.+" apply false
12-
id("ploceus") version "1.9.+" apply false
11+
id("fabric-loom") version "1.10.+" apply false
12+
id("ploceus") version "1.10.+" apply false
1313
}
1414

1515
version = "${project.version}"

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.parallel=true
66
axolotlclient.modules.all=true
77

88
# Mod Properties
9-
version=3.1.2-alpha.15
9+
version=3.1.2-beta.1
1010

1111
maven_group=io.github.axolotlclient
1212

@@ -25,7 +25,7 @@ mappings_121=1.21.1+build.3
2525

2626
fabric_loader=0.16.10
2727

28-
fapi_1214=0.111.0
28+
fapi_1214=0.118.0
2929
fapi_120=0.92.2
3030
fapi_121=0.107.0
3131
fabric_cts8=0.42.0+1.16
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)