Class PixelmonKeyMapping
java.lang.Object
net.minecraft.client.KeyMapping
com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMapping
- All Implemented Interfaces:
Comparable<net.minecraft.client.KeyMapping>
,net.minecraftforge.client.extensions.IForgeKeyMapping
- Direct Known Subclasses:
ChooseMoveSkillKey
,ClientPixelmonKeyMapping
,DescendKey
,FreeRoamKeyMapping
,HoverKey
,MinimizeMaximizeOverlayKey
,NextPokemonKey
,PokedexKey
,PreviousPokemonKey
,QuestCycleKey
,QuestJournalKey
,SendPokemonKey
,SpectateKey
,TargetKeyBinding
,TrainerCardKey
,WikiKey
public abstract class PixelmonKeyMapping
extends net.minecraft.client.KeyMapping
-
Field Summary
Fields inherited from class net.minecraft.client.KeyMapping
CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER
-
Constructor Summary
ModifierConstructorDescriptionprotected
PixelmonKeyMapping
(String description, int key, String category) protected
PixelmonKeyMapping
(String description, com.mojang.blaze3d.platform.InputConstants.Type type, int key, String category) protected
PixelmonKeyMapping
(String description, net.minecraftforge.client.settings.IKeyConflictContext keyConflictContext, com.mojang.blaze3d.platform.InputConstants.Key keyCode, String category) protected
PixelmonKeyMapping
(String description, net.minecraftforge.client.settings.IKeyConflictContext keyConflictContext, com.mojang.blaze3d.platform.InputConstants.Type inputType, int keyCode, String category) protected
PixelmonKeyMapping
(String description, net.minecraftforge.client.settings.IKeyConflictContext keyConflictContext, net.minecraftforge.client.settings.KeyModifier keyModifier, com.mojang.blaze3d.platform.InputConstants.Key keyCode, String category) protected
PixelmonKeyMapping
(String description, net.minecraftforge.client.settings.IKeyConflictContext keyConflictContext, net.minecraftforge.client.settings.KeyModifier keyModifier, com.mojang.blaze3d.platform.InputConstants.Type inputType, int keyCode, String category) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle()
protected abstract void
void
keyDown
(net.minecraftforge.client.event.InputEvent.Key event) void
keyPressed
(int key) void
onMouseButton
(net.minecraftforge.client.event.InputEvent.MouseButton event) Methods inherited from class net.minecraft.client.KeyMapping
click, compareTo, consumeClick, createNameSupplier, getCategory, getDefaultKey, getDefaultKeyModifier, getKey, getKeyConflictContext, getKeyModifier, getName, getTranslatedKeyMessage, isDefault, isDown, isUnbound, matches, matchesMouse, releaseAll, resetMapping, resetToggleKeys, same, saveString, set, setAll, setDown, setKey, setKeyConflictContext, setKeyModifierAndCode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.extensions.IForgeKeyMapping
hasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
-
Constructor Details
-
PixelmonKeyMapping
-
PixelmonKeyMapping
-
PixelmonKeyMapping
-
PixelmonKeyMapping
-
PixelmonKeyMapping
-
PixelmonKeyMapping
-
-
Method Details
-
keyDown
public void keyDown(net.minecraftforge.client.event.InputEvent.Key event) -
onMouseButton
public void onMouseButton(net.minecraftforge.client.event.InputEvent.MouseButton event) -
keyPressed
public void keyPressed(int key) -
handle
public void handle() -
handleKeyPress
protected abstract void handleKeyPress()
-