Package me.desht.pneumaticcraft.client
Enum Class KeyHandler
- All Implemented Interfaces:
Serializable,Comparable<KeyHandler>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.client.KeyMappingfinal net.minecraft.client.KeyMappingfinal net.minecraft.client.KeyMappingfinal net.minecraft.client.KeyMappingfinal net.minecraft.client.KeyMappingfinal net.minecraft.client.KeyMapping -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyHandlervoidonKey(net.minecraftforge.client.event.InputEvent.Key event) voidonMouse(net.minecraftforge.client.event.InputEvent.MouseButton event) voidregisterKeyMappings(net.minecraftforge.client.event.RegisterKeyMappingsEvent event) static KeyHandlerReturns the enum constant of this class with the specified name.static KeyHandler[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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 nameNullPointerException- if the argument is null
-
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)
-