Class ForgeClientHelper

java.lang.Object
com.blamejared.crafttweaker.platform.client.ForgeClientHelper
All Implemented Interfaces:
IClientHelper

public class ForgeClientHelper extends Object implements IClientHelper
  • Constructor Details

    • ForgeClientHelper

      public ForgeClientHelper()
  • Method Details

    • isKeyDown

      public boolean isKeyDown(net.minecraft.client.KeyMapping keyBinding)
      Description copied from interface: IClientHelper
      Safely checks if a key is down.
      Specified by:
      isKeyDown in interface IClientHelper
      Parameters:
      keyBinding - The key to check
      Returns:
      True if the key is down. False otherwise.
    • isKeyDownExtra

      public boolean isKeyDownExtra(net.minecraft.client.KeyMapping keyBinding)
      Description copied from interface: IClientHelper
      Safely checks if a key is down, including any modifiers.
      Specified by:
      isKeyDownExtra in interface IClientHelper
      Parameters:
      keyBinding - The key to check
      Returns:
      True if the key is down. False otherwise.