Class KeyboardHandlerMixin

java.lang.Object
de.luckymcdev.foundryengine.mixin.input.KeyboardHandlerMixin
All Implemented Interfaces:
EngineInterface<net.minecraft.client.KeyboardHandler>, EngineKeyboardHandler

public class KeyboardHandlerMixin extends Object implements EngineKeyboardHandler
See EngineImGui.shouldInterceptKeyboard() Cancels Minecraft Keyboard inputs if ImGui captures the keyboard.
  • 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$keyPress in interface EngineKeyboardHandler
    • 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$charTyped in interface EngineKeyboardHandler