Uses of Record Class
net.minecraft.client.KeyMapping.Category
Packages that use KeyMapping.Category
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of KeyMapping.Category in net.minecraft.client
Fields in net.minecraft.client declared as KeyMapping.CategoryModifier and TypeFieldDescriptionprivate final KeyMapping.CategoryKeyMapping.categorystatic final KeyMapping.CategoryKeyMapping.Category.CREATIVEstatic final KeyMapping.CategoryKeyMapping.Category.DEBUGstatic final KeyMapping.CategoryKeyMapping.Category.GAMEPLAYstatic final KeyMapping.CategoryKeyMapping.Category.INVENTORYstatic final KeyMapping.CategoryKeyMapping.Category.MISCstatic final KeyMapping.CategoryKeyMapping.Category.MOVEMENTstatic final KeyMapping.CategoryKeyMapping.Category.MULTIPLAYERstatic final KeyMapping.CategoryKeyMapping.Category.SPECTATORFields in net.minecraft.client with type parameters of type KeyMapping.CategoryModifier and TypeFieldDescription(package private) static final List<KeyMapping.Category> KeyMapping.Category.SORT_ORDERMethods in net.minecraft.client that return KeyMapping.CategoryModifier and TypeMethodDescriptionKeyMapping.getCategory()private static KeyMapping.Categorystatic KeyMapping.CategoryKeyMapping.Category.register(Identifier id) Deprecated.Constructors in net.minecraft.client with parameters of type KeyMapping.CategoryModifierConstructorDescriptionKeyMapping(String name, int keysym, KeyMapping.Category category) KeyMapping(String name, InputConstants.Type type, int value, KeyMapping.Category category) KeyMapping(String name, InputConstants.Type type, int value, KeyMapping.Category category, int order) KeyMapping(String name, IKeyConflictContext keyConflictContext, InputConstants.Key keyCode, KeyMapping.Category category) Convenience constructor for creating KeyMappings with keyConflictContext set.KeyMapping(String name, IKeyConflictContext keyConflictContext, InputConstants.Type inputType, int keyCode, KeyMapping.Category category) Convenience constructor for creating KeyMappings with keyConflictContext set.KeyMapping(String name, IKeyConflictContext keyConflictContext, KeyModifier keyModifier, InputConstants.Key keyCode, KeyMapping.Category category) Convenience constructor for creating KeyMappings with keyConflictContext and keyModifier set.KeyMapping(String name, IKeyConflictContext keyConflictContext, KeyModifier keyModifier, InputConstants.Type inputType, int keyCode, KeyMapping.Category category) Convenience constructor for creating KeyMappings with keyConflictContext and keyModifier set.ToggleKeyMapping(String name, int value, KeyMapping.Category category, BooleanSupplier needsToggle, boolean shouldRestore) ToggleKeyMapping(String name, InputConstants.Type type, int value, KeyMapping.Category category, BooleanSupplier needsToggle, boolean shouldRestore) -
Uses of KeyMapping.Category in net.minecraft.client.gui.screens.options.controls
Constructors in net.minecraft.client.gui.screens.options.controls with parameters of type KeyMapping.Category -
Uses of KeyMapping.Category in net.neoforged.neoforge.client
Method parameters in net.neoforged.neoforge.client with type arguments of type KeyMapping.CategoryModifier and TypeMethodDescriptionstatic voidClientHooks.onRegisterKeyMappings(Options options, List<KeyMapping.Category> categories) -
Uses of KeyMapping.Category in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type KeyMapping.CategoryModifier and TypeFieldDescriptionprivate final Map<Identifier, KeyMapping.Category> RegisterKeyMappingsEvent.moddedCategoriesMethods in net.neoforged.neoforge.client.event with parameters of type KeyMapping.CategoryModifier and TypeMethodDescriptionvoidRegisterKeyMappingsEvent.registerCategory(KeyMapping.Category category) Register a new key mapping category.Method parameters in net.neoforged.neoforge.client.event with type arguments of type KeyMapping.CategoryModifier and TypeMethodDescriptionvoidRegisterKeyMappingsEvent.sortAndStoreCategories(List<KeyMapping.Category> categories)
RegisterKeyMappingsEvent.registerCategory(Category)instead