Skip to content

Commit

Permalink
"keybinds are used, but in a hacky way"
Browse files Browse the repository at this point in the history
Co-Authored-By: Big Iron <52252627+Big-Iron-Cheems@users.noreply.github.com>
  • Loading branch information
moritztim and Big-Iron-Cheems committed Dec 8, 2023
1 parent 2fcaed3 commit 1448187
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public class Hud extends System<Hud> implements Iterable<HudElement> {
);

// Keybindings
@SuppressWarnings("unused")
private final Setting<Keybind> keybind = sgKeybind.add(new KeybindSetting.Builder()
.name("bind")
.defaultValue(Keybind.none())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public class Blink extends Module {
.defaultValue(true)
.build()
);


@SuppressWarnings("unused")
private final Setting<Keybind> cancelBlink = sgGeneral.add(new KeybindSetting.Builder()
.name("cancel-blink")
.description("Cancels sending packets and sends you back to your original position.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class ElytraBoost extends Module {
.build()
);

@SuppressWarnings("unused")
private final Setting<Keybind> keybind = sgGeneral.add(new KeybindSetting.Builder()
.name("keybind")
.description("The keybind to boost.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public enum Mode {

// Render

@SuppressWarnings("unused")
private final Setting<Mode> mode = sgRender.add(new EnumSetting.Builder<Mode>()
.name("mode")
.description("What mode to use for this marker.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public Block(int x, int y, int z) {

// Keybinding

@SuppressWarnings("unused")
private final Setting<Keybind> nextLayerKey = sgKeybinding.add(new KeybindSetting.Builder()
.name("next-layer-keybind")
.description("Keybind to increment layer")
Expand All @@ -114,6 +115,7 @@ public Block(int x, int y, int z) {
.build()
);

@SuppressWarnings("unused")
private final Setting<Keybind> prevLayerKey = sgKeybinding.add(new KeybindSetting.Builder()
.name("prev-layer-keybind")
.description("Keybind to increment layer")
Expand Down

0 comments on commit 1448187

Please sign in to comment.