Klasse KeyboardHandlerMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.input.KeyboardHandlerMixin
- Alle implementierten Schnittstellen:
EngineInterface<net.minecraft.client.KeyboardHandler>, EngineKeyboardHandler
See
ImGuiManager.shouldInterceptKeyboard()
Cancels Minecraft Keyboard inputs if ImGui captures the keyboard.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidengine$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.voidengine$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, waitVon 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$keyPressin SchnittstelleEngineKeyboardHandler
-
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$charTypedin SchnittstelleEngineKeyboardHandler
-