Class UseMoveSkillKey
java.lang.Object
net.minecraft.client.KeyMapping
com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMapping
com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding
com.pixelmonmod.pixelmon.client.keybindings.UseMoveSkillKey
- All Implemented Interfaces:
Comparable<net.minecraft.client.KeyMapping>,net.neoforged.neoforge.client.extensions.IKeyMappingExtension
Orders the selected Pokémon to use an external move.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding
targetLiquidsFields inherited from class net.minecraft.client.KeyMapping
CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidAttempts to order the selected Pokémon to use an external move.Methods inherited from class com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding
getTarget, getTargetMethods inherited from class com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMapping
handle, keyDown, keyPressed, onMouseButtonMethods 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, setKeyModifierAndCodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
getDisplayName, hasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
-
Constructor Details
-
UseMoveSkillKey
public UseMoveSkillKey()
-
-
Method Details
-
handleKeyPress
protected void handleKeyPress()- Overrides:
handleKeyPressin classTargetKeyBinding
-
useExternalMove
public void useExternalMove()Attempts to order the selected Pokémon to use an external move.
-