Schnittstelle EngineMouseHandler
- Alle Superschnittstellen:
EngineInterface<net.minecraft.client.MouseHandler>
- Alle bekannten Implementierungsklassen:
MouseHandlerMixin
Extends mouse input handling with button and scroll event hooks.
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungdefault voidengine$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 voidengine$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 voidengine$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 voidResets 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.
-