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 gak
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.option.KeyBinding
KeyBinding.Category -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final 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 restore) StickyKeyBinding(String id, InputUtil.Type type, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean restore) -
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 bLgak;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 cLgak;c:Z
-
restore
private final boolean restore- Mappings:
Namespace Name Mixin selector named restoreLnet/minecraft/client/option/StickyKeyBinding;restore:Zintermediary field_62926Lnet/minecraft/class_4666;field_62926:Zofficial dLgak;d:Z
-
-
Constructor Details
-
StickyKeyBinding
public StickyKeyBinding(String id, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean restore) - 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>Lgak;<init>(Ljava/lang/String;ILfzx$a;Ljava/util/function/BooleanSupplier;Z)V
-
StickyKeyBinding
public StickyKeyBinding(String id, InputUtil.Type type, int code, KeyBinding.Category category, BooleanSupplier toggleGetter, boolean restore) - 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>Lgak;<init>(Ljava/lang/String;Lfst$b;ILfzx$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 jLfzx;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 aLfzx;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 iLfzx;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 qLgak;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 rLgak;r()V
-