Package net.minecraft.client
Class ToggleKeyMapping
java.lang.Object
net.minecraft.client.KeyMapping
net.minecraft.client.ToggleKeyMapping
- All Implemented Interfaces:
Comparable<KeyMapping>
,IForgeKeyMapping
-
Field Summary
Fields inherited from class net.minecraft.client.KeyMapping
CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER, isDown
-
Constructor Summary
ConstructorDescriptionToggleKeyMapping
(String p_92529_, int p_92530_, String p_92531_, BooleanSupplier p_92532_) -
Method Summary
Methods inherited from class net.minecraft.client.KeyMapping
click, compareTo, consumeClick, createNameSupplier, getCategory, getDefaultKey, getDefaultKeyModifier, getKey, getKeyConflictContext, getKeyModifier, getName, getTranslatedKeyMessage, isDefault, isUnbound, matches, matchesMouse, releaseAll, resetMapping, resetToggleKeys, 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.IForgeKeyMapping
hasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
-
Field Details
-
needsToggle
-
-
Constructor Details
-
ToggleKeyMapping
-
-
Method Details
-
setDown
public void setDown(boolean p_92534_) - Overrides:
setDown
in classKeyMapping
-
isDown
public boolean isDown()- Overrides:
isDown
in classKeyMapping
-
reset
protected void reset()
-