Klasse KeyboardHandlerMixin

java.lang.Object
de.luckymcdev.foundryengine.mixin.input.KeyboardHandlerMixin
Alle implementierten Schnittstellen:
EngineInterface<net.minecraft.client.KeyboardHandler>, EngineKeyboardHandler

public class KeyboardHandlerMixin extends Object implements EngineKeyboardHandler
See ImGuiManager.shouldInterceptKeyboard() Cancels Minecraft Keyboard inputs if ImGui captures the keyboard.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    void
    engine$charTyped(long handle, net.minecraft.client.input.CharacterEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    Cancels char-typed events when ImGui captures the keyboard.
    void
    engine$keyPress(long handle, int action, net.minecraft.client.input.KeyEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    Cancels keyboard events when ImGui captures the keyboard, and handles editor/menu toggle hotkeys.

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden EngineInterface

    engine$self
  • Konstruktordetails

    • KeyboardHandlerMixin

      public KeyboardHandlerMixin()
  • Methodendetails

    • engine$keyPress

      public void engine$keyPress(long handle, int action, net.minecraft.client.input.KeyEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      Cancels keyboard events when ImGui captures the keyboard, and handles editor/menu toggle hotkeys.
      Angegeben von:
      engine$keyPress in Schnittstelle EngineKeyboardHandler
    • engine$charTyped

      public void engine$charTyped(long handle, net.minecraft.client.input.CharacterEvent event, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      Cancels char-typed events when ImGui captures the keyboard.
      Angegeben von:
      engine$charTyped in Schnittstelle EngineKeyboardHandler