Package net.minecraft.client.option
Class StickyKeyBinding
java.lang.Object
net.minecraft.client.option.KeyBinding
net.minecraft.client.option.StickyKeyBinding
- All Implemented Interfaces:
Comparable<KeyBinding>
- Mappings:
Namespace Name named net/minecraft/client/option/StickyKeyBinding
intermediary net/minecraft/class_4666
official fft
-
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
ConstructorDescriptionStickyKeyBinding
(String id, int code, String category, BooleanSupplier toggleGetter) -
Method Summary
Methods inherited from class net.minecraft.client.option.KeyBinding
compareTo, equals, getBoundKeyLocalizedText, getBoundKeyTranslationKey, getCategory, getDefaultKey, getLocalizedName, getTranslationKey, isDefault, isPressed, isUnbound, matchesKey, matchesMouse, onKeyPressed, setBoundKey, setKeyPressed, unpressAll, untoggleStickyKeys, updateKeysByCode, updatePressedStates, wasPressed
-
Field Details
-
toggleGetter
- Mappings:
Namespace Name Mixin selector named toggleGetter
Lnet/minecraft/client/option/StickyKeyBinding;toggleGetter:Ljava/util/function/BooleanSupplier;
intermediary field_21334
Lnet/minecraft/class_4666;field_21334:Ljava/util/function/BooleanSupplier;
official h
Lfft;h:Ljava/util/function/BooleanSupplier;
-
-
Constructor Details
-
StickyKeyBinding
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/option/StickyKeyBinding;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BooleanSupplier;)V
intermediary <init>
Lnet/minecraft/class_4666;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BooleanSupplier;)V
official <init>
Lfft;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BooleanSupplier;)V
-
-
Method Details
-
setPressed
public void setPressed(boolean pressed) - Overrides:
setPressed
in classKeyBinding
- Mappings:
Namespace Name Mixin selector named setPressed
Lnet/minecraft/client/option/KeyBinding;setPressed(Z)V
intermediary method_23481
Lnet/minecraft/class_304;method_23481(Z)V
official a
Lffe;a(Z)V
-
untoggle
protected void untoggle()- Mappings:
Namespace Name Mixin selector named untoggle
Lnet/minecraft/client/option/StickyKeyBinding;untoggle()V
intermediary method_52232
Lnet/minecraft/class_4666;method_52232()V
official n
Lfft;n()V
-