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

Commit 9ba89ed

Browse files
committed
update Changelog, fix ToggleSprintHud translations
1 parent 28d5584 commit 9ba89ed

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454

5555
### 2.2.5
5656

57-
- update README, add license headers in files, add missing credits
57+
- reformat code (@TheKodeToad)
58+
- add PlayerHUD Auto-Hide Option (@TheKodeToad)
59+
- update README
60+
- add license headers
61+
- add missing credits
5862
- add turkish translation of the README
63+
- add Option to hide AutoTip tip messages
64+
- Add Option to toggle Freelook
5965

src/main/java/io/github/axolotlclient/mixin/ClientPlayerEntityMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
package io.github.axolotlclient.mixin;
2424

2525
import io.github.axolotlclient.modules.hud.HudManager;
26-
import io.github.axolotlclient.modules.hud.gui.hud.ToggleSprintHud;
26+
import io.github.axolotlclient.modules.hud.gui.hud.simple.ToggleSprintHud;
2727
import net.minecraft.client.network.ClientPlayerEntity;
2828
import net.minecraft.client.option.KeyBind;
2929
import org.spongepowered.asm.mixin.Mixin;

src/main/java/io/github/axolotlclient/mixin/KeyboardInputMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
package io.github.axolotlclient.mixin;
2424

2525
import io.github.axolotlclient.modules.hud.HudManager;
26-
import io.github.axolotlclient.modules.hud.gui.hud.ToggleSprintHud;
26+
import io.github.axolotlclient.modules.hud.gui.hud.simple.ToggleSprintHud;
2727
import net.minecraft.client.MinecraftClient;
2828
import net.minecraft.client.input.KeyboardInput;
2929
import net.minecraft.client.option.KeyBind;

src/main/java/io/github/axolotlclient/modules/hud/gui/hud/ToggleSprintHud.java renamed to src/main/java/io/github/axolotlclient/modules/hud/gui/hud/simple/ToggleSprintHud.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* For more information, see the LICENSE file.
2121
*/
2222

23-
package io.github.axolotlclient.modules.hud.gui.hud;
23+
package io.github.axolotlclient.modules.hud.gui.hud.simple;
2424

2525
import io.github.axolotlclient.AxolotlclientConfig.options.BooleanOption;
2626
import io.github.axolotlclient.AxolotlclientConfig.options.Option;
@@ -56,10 +56,8 @@ public class ToggleSprintHud extends SimpleTextHudEntry {
5656
private final BooleanOption randomPlaceholder = new BooleanOption("randomPlaceholder", ID.getPath(), false);
5757
private final StringOption placeholder = new StringOption("placeholder", ID.getPath(), "No keys pressed");
5858

59-
private final KeyBind sprintToggle = new KeyBind("keys.kronhud.toggleSprint", GLFW.GLFW_KEY_K,
60-
"keys.category.kronhud.keys");
61-
private final KeyBind sneakToggle = new KeyBind("keys.kronhud.toggleSneak", GLFW.GLFW_KEY_I,
62-
"keys.category.kronhud.keys");
59+
private final KeyBind sprintToggle = new KeyBind("key.toggleSprint", GLFW.GLFW_KEY_K, "category.axolotlclient");
60+
private final KeyBind sneakToggle = new KeyBind("key.toggleSneak", GLFW.GLFW_KEY_I, "category.axolotlclient");
6361

6462
@Getter
6563
private final BooleanOption sprintToggled = new BooleanOption("sprintToggled", ID.getPath(), false);
@@ -127,17 +125,17 @@ public boolean movable() {
127125
@Override
128126
public String getValue() {
129127
if (client.options.sneakKey.isPressed()) {
130-
return I18n.translate("texts.kronhud.togglesprint.sneaking_pressed");
128+
return I18n.translate("axolotlclient.sneaking_pressed");
131129
}
132130
if (client.options.sprintKey.isPressed()) {
133-
return I18n.translate("texts.kronhud.togglesprint.sprinting_pressed");
131+
return I18n.translate("axolotlclient.sprinting_pressed");
134132
}
135133

136134
if (toggleSneak.get() && sneakToggled.get()) {
137-
return I18n.translate("texts.kronhud.togglesprint.sneaking_toggled");
135+
return I18n.translate("axolotlclient.sneaking_toggled");
138136
}
139137
if (toggleSprint.get() && sprintToggled.get()) {
140-
return I18n.translate("texts.kronhud.togglesprint.sprinting_toggled");
138+
return I18n.translate("axolotlclient.sprinting_toggled");
141139
}
142140
return getPlaceholder();
143141
}

0 commit comments

Comments
 (0)