Key Binding Helper
public final class KeyBindingHelper
Content copied to clipboard
Helper for registering key bindings.
Helper class for KeyBinding for use by Fabric mods.
KeyBinding left = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.example.left", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_P, "key.category.example")); KeyBinding right = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.example.right", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_U, "key.category.example"));
Functions
Sources
jvm source
Link copied to clipboard