Package net.minecraft.client
Class ToggleKeyMapping
java.lang.Object
net.minecraft.client.KeyMapping
net.minecraft.client.ToggleKeyMapping
- All Implemented Interfaces:
Comparable<KeyMapping>,IKeyMappingExtension
-
Field Summary
FieldsFields inherited from class net.minecraft.client.KeyMapping
CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER, isDown -
Constructor Summary
ConstructorsConstructorDescriptionToggleKeyMapping(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, setKeyModifierAndCodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
hasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
-
Field Details
-
needsToggle
-
-
Constructor Details
-
ToggleKeyMapping
-
-
Method Details
-
setDown
public void setDown(boolean p_92534_) - Overrides:
setDownin classKeyMapping
-
isDown
public boolean isDown()- Overrides:
isDownin classKeyMapping
-
reset
protected void reset()
-