Class FabricKeyBinding
java.lang.Object
net.minecraft.client.option.KeyBinding
net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding
- All Implemented Interfaces:
Comparable<KeyBinding>
Deprecated.
Expanded version of
KeyBinding
for use by Fabric mods.
*ALL* instantiated FabricKeyBindings should be registered in
KeyBindingRegistry.register(FabricKeyBinding)
!
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.minecraft.client.option.KeyBinding
CREATIVE_CATEGORY, GAMEPLAY_CATEGORY, INVENTORY_CATEGORY, MISC_CATEGORY, MOVEMENT_CATEGORY, MULTIPLAYER_CATEGORY, UI_CATEGORY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FabricKeyBinding
(Identifier id, InputUtil.Type type, int code, String category) Deprecated. -
Method Summary
Methods inherited from class net.minecraft.client.option.KeyBinding
byId, compareTo, equals, getBoundKeyLocalizedText, getBoundKeyTranslationKey, getCategory, getDefaultKey, getLocalizedName, getTranslationKey, isDefault, isPressed, isUnbound, matchesKey, matchesMouse, onKeyPressed, setBoundKey, setKeyPressed, setPressed, unpressAll, untoggleStickyKeys, updateKeysByCode, updatePressedStates, wasPressed
KeyBindingHelper.registerKeyBinding(KeyBinding)
instead.