Class BattleNumberedKey

java.lang.Object
net.minecraft.client.KeyMapping
All Implemented Interfaces:
Comparable<net.minecraft.client.KeyMapping>, net.minecraftforge.client.extensions.IForgeKeyMapping

public class BattleNumberedKey extends TargetKeyBinding
Attacks with a Pokémon's move during a battle.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     

    Fields inherited from class com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding

    targetLiquids

    Fields inherited from class net.minecraft.client.KeyMapping

    CATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER
  • Constructor Summary

    Constructors
    Constructor
    Description
    BattleNumberedKey(String keyBindingName, int glfwKey, int attackID)
     
  • Method Summary

    Methods inherited from class com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding

    getTarget, getTarget, handleKeyPress

    Methods inherited from class com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMapping

    handle, keyDown, keyPressed, onMouseButton

    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
  • Field Details

    • id

      public int id
  • Constructor Details

    • BattleNumberedKey

      public BattleNumberedKey(String keyBindingName, int glfwKey, int attackID)