Package net.minecraft.client
Class ToggleKeyMapping
java.lang.Object
net.minecraft.client.KeyMapping
net.minecraft.client.ToggleKeyMapping
- All Implemented Interfaces:
- Comparable<KeyMapping>,- IKeyMappingExtension
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.KeyMappingCATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER, isDown
- 
Constructor SummaryConstructorsConstructorDescriptionToggleKeyMapping(String p_92529_, int p_92530_, String p_92531_, BooleanSupplier p_92532_) 
- 
Method SummaryMethods inherited from class net.minecraft.client.KeyMappingclick, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IKeyMappingExtensionhasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
- 
Field Details- 
needsToggle
 
- 
- 
Constructor Details- 
ToggleKeyMapping
 
- 
- 
Method Details- 
setDownpublic void setDown(boolean p_92534_) - Overrides:
- setDownin class- KeyMapping
 
- 
isDownpublic boolean isDown()- Overrides:
- isDownin class- KeyMapping
 
- 
resetprotected void reset()
 
-