Class DynamicKeyMapping
java.lang.Object
net.minecraft.client.KeyMapping
dev.munebase.dynamickeybinds.client.DynamicKeyMapping
- All Implemented Interfaces:
Comparable<net.minecraft.client.KeyMapping>
public class DynamicKeyMapping
extends net.minecraft.client.KeyMapping
KeyMapping with optional dynamic display metadata.
-
Field Summary
Fields inherited from class net.minecraft.client.KeyMapping
CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER -
Constructor Summary
ConstructorsConstructorDescriptionDynamicKeyMapping(String id, int keyCode, String category, DisplaySpec displaySpec) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcategoryKey(String category) The KeyMapping category string used for a dynamic keybind category.voidsetDisplaySpec(DisplaySpec displaySpec) Methods inherited from class net.minecraft.client.KeyMapping
click, compareTo, consumeClick, createNameSupplier, getCategory, getDefaultKey, getName, getTranslatedKeyMessage, isDefault, isDown, isUnbound, matches, matchesMouse, releaseAll, resetMapping, resetToggleKeys, same, saveString, set, setAll, setDown, setKey
-
Constructor Details
-
DynamicKeyMapping
-
-
Method Details
-
categoryKey
The KeyMapping category string used for a dynamic keybind category. -
getDisplaySpec
-
setDisplaySpec
-