Class TargetKeyBinding

java.lang.Object
net.minecraft.client.KeyMapping
com.pixelmonmod.pixelmon.client.keybindings.TargetKeyBinding
All Implemented Interfaces:
Comparable<net.minecraft.client.KeyMapping>, net.minecraftforge.client.extensions.IForgeKeyMapping
Direct Known Subclasses:
ActionKey, OptionsKey, UseMoveSkillKey

public class TargetKeyBinding extends net.minecraft.client.KeyMapping
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     

    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
    TargetKeyBinding(String p_i45001_1_, int p_i45001_2_, String p_i45001_3_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.HitResult
    getTarget(boolean targetLiquids)
     
    static net.minecraft.world.phys.HitResult
    getTarget(boolean targetLiquids, double range)
     

    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

    • targetLiquids

      protected boolean targetLiquids
  • Constructor Details

    • TargetKeyBinding

      public TargetKeyBinding(String p_i45001_1_, int p_i45001_2_, String p_i45001_3_)
  • Method Details

    • getTarget

      public static net.minecraft.world.phys.HitResult getTarget(boolean targetLiquids)
    • getTarget

      public static net.minecraft.world.phys.HitResult getTarget(boolean targetLiquids, double range)