Class ForgeClientHelper
java.lang.Object
com.blamejared.crafttweaker.platform.client.ForgeClientHelper
- All Implemented Interfaces:
IClientHelper
-
Field Summary
Fields inherited from interface com.blamejared.crafttweaker.platform.services.IClientHelper
NAMETAGS, TOOLTIPS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisKeyDown(net.minecraft.client.KeyMapping keyBinding) Safely checks if a key is down.booleanisKeyDownExtra(net.minecraft.client.KeyMapping keyBinding) Safely checks if a key is down, including any modifiers.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.platform.services.IClientHelper
applyTooltips, getTooltips, isSingleplayer
-
Constructor Details
-
ForgeClientHelper
public ForgeClientHelper()
-
-
Method Details
-
isKeyDown
public boolean isKeyDown(net.minecraft.client.KeyMapping keyBinding) Description copied from interface:IClientHelperSafely checks if a key is down.- Specified by:
isKeyDownin interfaceIClientHelper- 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:IClientHelperSafely checks if a key is down, including any modifiers.- Specified by:
isKeyDownExtrain interfaceIClientHelper- Parameters:
keyBinding- The key to check- Returns:
- True if the key is down. False otherwise.
-