Package net.minecraft.client.settings
Class ToggleableKeyBinding
java.lang.Object
net.minecraft.client.settings.KeyBinding
net.minecraft.client.settings.ToggleableKeyBinding
- All Implemented Interfaces:
Comparable<KeyBinding>
,IForgeKeybinding
-
Field Summary
Fields inherited from class net.minecraft.client.settings.KeyBinding
isDown
-
Constructor Summary
ConstructorDescriptionToggleableKeyBinding
(String p_i225917_1_, int p_i225917_2_, String p_i225917_3_, BooleanSupplier p_i225917_4_) -
Method Summary
Methods inherited from class net.minecraft.client.settings.KeyBinding
click, compareTo, consumeClick, createNameSupplier, getCategory, getDefaultKey, getKey, getKeyConflictContext, getKeyModifier, getKeyModifierDefault, getName, getTranslatedKeyMessage, isDefault, isUnbound, matches, matchesMouse, releaseAll, resetMapping, same, saveString, set, setAll, setKey, setKeyConflictContext, setKeyModifierAndCode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.extensions.IForgeKeybinding
getKeyBinding, hasKeyCodeModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
-
Field Details
-
needsToggle
-
-
Constructor Details
-
ToggleableKeyBinding
public ToggleableKeyBinding(String p_i225917_1_, int p_i225917_2_, String p_i225917_3_, BooleanSupplier p_i225917_4_)
-
-
Method Details
-
setDown
public void setDown(boolean p_225593_1_) - Overrides:
setDown
in classKeyBinding
-
isDown
public boolean isDown()- Overrides:
isDown
in classKeyBinding
-