Class FabricPlatformHelper
java.lang.Object
com.blamejared.controlling.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasConflictingModifier(net.minecraft.client.KeyMapping keybinding, net.minecraft.client.KeyMapping other) booleanisKeyCodeModifier(com.mojang.blaze3d.platform.InputConstants.Key key) voidsetKey(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding, com.mojang.blaze3d.platform.InputConstants.Key key) voidsetToDefault(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.controlling.platform.IPlatformHelper
getKeyName, handleKeyPress, handleKeyReleased
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
hasConflictingModifier
public boolean hasConflictingModifier(net.minecraft.client.KeyMapping keybinding, net.minecraft.client.KeyMapping other) - Specified by:
hasConflictingModifierin interfaceIPlatformHelper
-
setKey
public void setKey(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding, com.mojang.blaze3d.platform.InputConstants.Key key) - Specified by:
setKeyin interfaceIPlatformHelper
-
setToDefault
public void setToDefault(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding) - Specified by:
setToDefaultin interfaceIPlatformHelper
-
isKeyCodeModifier
public boolean isKeyCodeModifier(com.mojang.blaze3d.platform.InputConstants.Key key) - Specified by:
isKeyCodeModifierin interfaceIPlatformHelper
-