Class KeyboardHandlerMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.input.KeyboardHandlerMixin
- All Implemented Interfaces:
EngineInterface<net.minecraft.client.KeyboardHandler>, EngineKeyboardHandler
See
EngineImGui.shouldInterceptKeyboard()
Cancels Minecraft Keyboard inputs if ImGui captures the keyboard.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidengine$charTyped(long handle, net.minecraft.client.input.CharacterEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidengine$keyPress(long handle, int action, net.minecraft.client.input.KeyEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EngineInterface
engine$self
-
Constructor Details
-
KeyboardHandlerMixin
public KeyboardHandlerMixin()
-
-
Method Details
-
engine$keyPress
public void engine$keyPress(long handle, int action, net.minecraft.client.input.KeyEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) - Specified by:
engine$keyPressin interfaceEngineKeyboardHandler
-
engine$charTyped
public void engine$charTyped(long handle, net.minecraft.client.input.CharacterEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) - Specified by:
engine$charTypedin interfaceEngineKeyboardHandler
-