KeyBindingHelper.registerKeyBinding(KeyBinding)
instead.@Deprecated public class FabricKeyBinding extends net.minecraft.client.options.KeyBinding
KeyBinding
for use by Fabric mods.
*ALL* instantiated FabricKeyBindings should be registered in
KeyBindingRegistry.register(FabricKeyBinding)
!
Modifier and Type | Class and Description |
---|---|
static class |
FabricKeyBinding.Builder
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
FabricKeyBinding(net.minecraft.util.Identifier id,
net.minecraft.client.util.InputUtil.Type type,
int code,
String category)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.client.util.InputUtil.Key |
getBoundKey()
Deprecated.
|
compareTo, equals, getBoundKeyLocalizedText, getBoundKeyTranslationKey, getCategory, getDefaultKey, getLocalizedName, getTranslationKey, isDefault, isPressed, isUnbound, matchesKey, matchesMouse, onKeyPressed, setBoundKey, setKeyPressed, setPressed, unpressAll, updateKeysByCode, updatePressedStates, wasPressed
protected FabricKeyBinding(net.minecraft.util.Identifier id, net.minecraft.client.util.InputUtil.Type type, int code, String category)
@Deprecated public net.minecraft.client.util.InputUtil.Key getBoundKey()