Schnittstelle EngineMouseHandler

Alle Superschnittstellen:
EngineInterface<net.minecraft.client.MouseHandler>
Alle bekannten Implementierungsklassen:
MouseHandlerMixin

public interface EngineMouseHandler extends EngineInterface<net.minecraft.client.MouseHandler>
Extends mouse input handling with button and scroll event hooks.
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    default void
    engine$onButton(long p_window, net.minecraft.client.input.MouseButtonInfo buttonInfo, int action, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    Called on mouse button events to allow interception or augmentation.
    default void
    engine$onMove(long window, double x, double y, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    Called on mouse move events to allow interception or augmentation.
    default void
    engine$onScroll(long window, double horizontal, double vertical, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    Called on mouse scroll events to allow interception or augmentation.
    default void
    Resets internal mouse state and positions the cursor off-screen.

    Von Schnittstelle geerbte Methoden EngineInterface

    engine$self
  • Methodendetails

    • engine$onButton

      default void engine$onButton(long p_window, net.minecraft.client.input.MouseButtonInfo buttonInfo, int action, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      Called on mouse button events to allow interception or augmentation.
    • engine$onScroll

      default void engine$onScroll(long window, double horizontal, double vertical, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      Called on mouse scroll events to allow interception or augmentation.
    • engine$onMove

      default void engine$onMove(long window, double x, double y, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      Called on mouse move events to allow interception or augmentation.
    • engine$resetMouse

      default void engine$resetMouse()
      Resets internal mouse state and positions the cursor off-screen.