Menu almost complete. All that I need to do is add colours to see what is enabled.

This commit is contained in:
desyncfy
2024-06-13 18:54:08 -07:00
parent 0a2b4d252b
commit 2a5fae25f2
6 changed files with 81 additions and 13 deletions

View File

@@ -14,6 +14,7 @@ import org.lwjgl.glfw.GLFW
object SciFyClient : ClientModInitializer {
override fun onInitializeClient() {
// Open Menu Hotkey
val menu = KeyBindingHelper.registerKeyBinding(
KeyBinding(
"Menu",
@@ -22,6 +23,8 @@ object SciFyClient : ClientModInitializer {
"SciFy"
)
)
ClientTickEvents.END_CLIENT_TICK.register(ClientTickEvents.EndTick { client: MinecraftClient ->
while (menu.wasPressed()) {
// Debug