Class KeybindScrollHelper

java.lang.Object
net.dillon.dillonlib.util.KeybindScrollHelper

public class KeybindScrollHelper extends Object
Utility class for scrolling to a certain keybinds list.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.KeyMapping.Category
    Consumes the current keybind category and removes it.
    static int
    findCategory(net.minecraft.client.KeyMapping.Category keyCategory)
    Finds the current keybind category, and does nothing if it was not found.
    static void
    request(net.minecraft.client.KeyMapping.Category category)
    Requests and queues a keybind category string.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.