Class KeybindScrollHelper
java.lang.Object
net.dillon.dillonlib.util.KeybindScrollHelper
Utility class for scrolling to a certain keybinds list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.KeyMapping.Categoryconsume()Consumes the current keybind category and removes it.static intfindCategory(net.minecraft.client.KeyMapping.Category keyCategory) Finds the current keybind category, and does nothing if it was not found.static voidrequest(net.minecraft.client.KeyMapping.Category category) Requests and queues a keybind category string.
-
Constructor Details
-
KeybindScrollHelper
public KeybindScrollHelper()
-
-
Method Details
-
request
public static void request(net.minecraft.client.KeyMapping.Category category) Requests and queues a keybind category string. -
consume
public static net.minecraft.client.KeyMapping.Category consume()Consumes the current keybind category and removes it. -
findCategory
public static int findCategory(net.minecraft.client.KeyMapping.Category keyCategory) Finds the current keybind category, and does nothing if it was not found.
-