Skip to content

Commit

Permalink
Revert keybinds for now (See #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zolo101 committed Jun 17, 2024
1 parent a02b707 commit 6088ffd
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,18 @@
import java.util.Optional;
import java.util.concurrent.CompletableFuture;

import org.lwjgl.glfw.GLFW;

import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.argument;

public class NotEnoughServers implements ClientModInitializer {
public static final String MOD_ID = "not-enough-servers";

public static final ConfigHolder<NotEnoughServersConfig> CONFIG = NotEnoughServersConfig.init();

public static KeyBinding SERVER_LIST_TOP = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_TOP", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_HOME, "not-enough-servers.name"));
public static KeyBinding SERVER_LIST_BOTTOM = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_BOTTOM", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_END, "not-enough-servers.name"));
public static KeyBinding SERVER_DELETE = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_DELETE", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_DELETE, "not-enough-servers.name"));
public static KeyBinding SERVER_RENAME = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_RENAME", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_R, "not-enough-servers.name"));
public static KeyBinding SERVER_ADD = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_ADD", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_A, "not-enough-servers.name"));
// public static KeyBinding SERVER_LIST_TOP = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_TOP", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_HOME, "not-enough-servers.name"));
// public static KeyBinding SERVER_LIST_BOTTOM = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_BOTTOM", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_END, "not-enough-servers.name"));
// public static KeyBinding SERVER_DELETE = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_DELETE", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_DELETE, "not-enough-servers.name"));
// public static KeyBinding SERVER_RENAME = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_RENAME", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_R, "not-enough-servers.name"));
// public static KeyBinding SERVER_ADD = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_ADD", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_A, "not-enough-servers.name"));

public int attemptAdd(com.mojang.brigadier.context.CommandContext<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> context) {
MinecraftClient client = MinecraftClient.getInstance();
Expand Down

0 comments on commit 6088ffd

Please sign in to comment.