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/StickyKeyBindingintermediary net/minecraft/class_4666official gaf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.option.KeyBinding
KeyBinding.Category -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate booleanprivate final BooleanSupplierFields inherited from class net.minecraft.client.option.KeyBinding
boundKey -
Constructor Summary
ConstructorsConstructorDescriptionStickyKeyBinding(String id, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean bool) StickyKeyBinding(String id, InputUtil.Type type, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreset()voidsetPressed(boolean pressed) booleanprotected booleanprotected voiduntoggle()Methods inherited from class net.minecraft.client.option.KeyBinding
byId, compareTo, equals, getBoundKeyLocalizedText, getBoundKeyTranslationKey, getCategory, getDefaultKey, getId, getLocalizedName, isDefault, isPressed, isUnbound, matchesKey, matchesMouse, onKeyPressed, restoreToggleStates, setBoundKey, setKeyPressed, unpressAll, untoggleStickyKeys, updateKeysByCode, updatePressedStates, wasPressed
-
Field Details
-
toggleGetter
- Mappings:
Namespace Name Mixin selector named toggleGetterLnet/minecraft/client/option/StickyKeyBinding;toggleGetter:Ljava/util/function/BooleanSupplier;intermediary field_21334Lnet/minecraft/class_4666;field_21334:Ljava/util/function/BooleanSupplier;official bLgaf;b:Ljava/util/function/BooleanSupplier;
-
resetOnScreenClose
private boolean resetOnScreenClose- Mappings:
Namespace Name Mixin selector named resetOnScreenCloseLnet/minecraft/client/option/StickyKeyBinding;resetOnScreenClose:Zintermediary field_62108Lnet/minecraft/class_4666;field_62108:Zofficial cLgaf;c:Z
-
field_62926
private final boolean field_62926- Mappings:
Namespace Name Mixin selector named field_62926Lnet/minecraft/client/option/StickyKeyBinding;field_62926:Zintermediary field_62926Lnet/minecraft/class_4666;field_62926:Zofficial dLgaf;d:Z
-
-
Constructor Details
-
StickyKeyBinding
public StickyKeyBinding(String id, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean bool) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/StickyKeyBinding;<init>(Ljava/lang/String;ILnet/minecraft/client/option/KeyBinding$Category;Ljava/util/function/BooleanSupplier;Z)Vintermediary <init>Lnet/minecraft/class_4666;<init>(Ljava/lang/String;ILnet/minecraft/class_304$class_11900;Ljava/util/function/BooleanSupplier;Z)Vofficial <init>Lgaf;<init>(Ljava/lang/String;ILfzs$a;Ljava/util/function/BooleanSupplier;Z)V
-
StickyKeyBinding
public StickyKeyBinding(String id, InputUtil.Type type, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean bool) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/StickyKeyBinding;<init>(Ljava/lang/String;Lnet/minecraft/client/util/InputUtil$Type;ILnet/minecraft/client/option/KeyBinding$Category;Ljava/util/function/BooleanSupplier;Z)Vintermediary <init>Lnet/minecraft/class_4666;<init>(Ljava/lang/String;Lnet/minecraft/class_3675$class_307;ILnet/minecraft/class_304$class_11900;Ljava/util/function/BooleanSupplier;Z)Vofficial <init>Lgaf;<init>(Ljava/lang/String;Lfso$b;ILfzs$a;Ljava/util/function/BooleanSupplier;Z)V
-
-
Method Details
-
shouldSetOnGameFocus
protected boolean shouldSetOnGameFocus()- Overrides:
shouldSetOnGameFocusin classKeyBinding- Mappings:
Namespace Name Mixin selector named shouldSetOnGameFocusLnet/minecraft/client/option/KeyBinding;shouldSetOnGameFocus()Zintermediary method_72701Lnet/minecraft/class_304;method_72701()Zofficial jLfzs;j()Z
-
setPressed
public void setPressed(boolean pressed) - Overrides:
setPressedin classKeyBinding- Mappings:
Namespace Name Mixin selector named setPressedLnet/minecraft/client/option/KeyBinding;setPressed(Z)Vintermediary method_23481Lnet/minecraft/class_304;method_23481(Z)Vofficial aLfzs;a(Z)V
-
reset
protected void reset()- Overrides:
resetin classKeyBinding- Mappings:
Namespace Name Mixin selector named resetLnet/minecraft/client/option/KeyBinding;reset()Vintermediary method_1425Lnet/minecraft/class_304;method_1425()Vofficial iLfzs;i()V
-
shouldRestoreOnScreenClose
public boolean shouldRestoreOnScreenClose()- Mappings:
Namespace Name Mixin selector named shouldRestoreOnScreenCloseLnet/minecraft/client/option/StickyKeyBinding;shouldRestoreOnScreenClose()Zintermediary method_73364Lnet/minecraft/class_4666;method_73364()Zofficial qLgaf;q()Z
-
untoggle
protected void untoggle()- Mappings:
Namespace Name Mixin selector named untoggleLnet/minecraft/client/option/StickyKeyBinding;untoggle()Vintermediary method_52232Lnet/minecraft/class_4666;method_52232()Vofficial rLgaf;r()V
-