Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused code and change translation #1117

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/main/java/de/hysky/skyblocker/skyblock/tabhud/TabHud.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,13 @@
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import org.lwjgl.glfw.GLFW;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TabHud {

public static KeyBinding toggleB;
public static KeyBinding toggleSecondary;
// public static KeyBinding mapTgl;
public static KeyBinding defaultTgl;

public static final Logger LOGGER = LoggerFactory.getLogger("Skyblocker Tab HUD");

@Init
public static void init() {

toggleB = KeyBindingHelper.registerKeyBinding(
new KeyBinding("key.skyblocker.toggleB",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_B,
"key.categories.skyblocker"));
toggleSecondary = KeyBindingHelper.registerKeyBinding(
new KeyBinding("key.skyblocker.toggleA",
InputUtil.Type.KEYSYM,
Expand All @@ -35,6 +22,5 @@ public static void init() {
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_M,
"key.categories.skyblocker"));

}
}
3 changes: 1 addition & 2 deletions src/main/resources/assets/skyblocker/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

"key.categories.skyblocker": "Skyblocker",
"key.hotbarSlotLock": "Slot Lock (Hotbar)",
"key.skyblocker.toggleB": "Toggle tab HUD to screen B",
"key.skyblocker.defaultTgl": "Switch tab HUD to default view",
"key.skyblocker.toggleA": "Toggle tab HUD to screen A",
"key.skyblocker.toggleA": "Show tab HUD secondary view",
"key.skyblocker.debug.dumpNearbyEntities": "Dump Nearby Entities",
"key.skyblocker.debug.dumpHoveredItem": "Dump Hovered Item",
"key.wikiLookup": "Wiki Lookup",
Expand Down
Loading