Enum Class KeyHandler

java.lang.Object
java.lang.Enum<KeyHandler>
me.desht.pneumaticcraft.client.KeyHandler
All Implemented Interfaces:
Serializable, Comparable<KeyHandler>, Constable

public enum KeyHandler extends Enum<KeyHandler>
  • Enum Constant Details

    • INSTANCE

      public static final KeyHandler INSTANCE
  • Field Details

    • keybindOpenOptions

      public final net.minecraft.client.KeyMapping keybindOpenOptions
    • keybindHack

      public final net.minecraft.client.KeyMapping keybindHack
    • keybindDebuggingDrone

      public final net.minecraft.client.KeyMapping keybindDebuggingDrone
    • keybindKick

      public final net.minecraft.client.KeyMapping keybindKick
    • keybindLauncher

      public final net.minecraft.client.KeyMapping keybindLauncher
    • keybindJetBoots

      public final net.minecraft.client.KeyMapping keybindJetBoots
  • Method Details

    • values

      public static KeyHandler[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeyHandler valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getInstance

      public static KeyHandler getInstance()
    • registerKeyMappings

      public void registerKeyMappings(net.minecraftforge.client.event.RegisterKeyMappingsEvent event)
    • onKey

      public void onKey(net.minecraftforge.client.event.InputEvent.Key event)
    • onMouse

      public void onMouse(net.minecraftforge.client.event.InputEvent.MouseButton event)