Class MouseHandlerMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.input.MouseHandlerMixin
- All Implemented Interfaces:
EngineInterface<net.minecraft.client.MouseHandler>, EngineMouseHandler
See
EngineImGui.shouldInterceptMouse()
Cancels Minecraft Mouse inputs if ImGui captures the Mouse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidengine$onButton(long handle, net.minecraft.client.input.MouseButtonInfo buttonInfo, int action, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidengine$onScroll(long handle, double horizontal, double vertical, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EngineInterface
engine$self
-
Constructor Details
-
MouseHandlerMixin
public MouseHandlerMixin()
-
-
Method Details
-
engine$onButton
public void engine$onButton(long handle, net.minecraft.client.input.MouseButtonInfo buttonInfo, int action, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) - Specified by:
engine$onButtonin interfaceEngineMouseHandler
-
engine$onScroll
public void engine$onScroll(long handle, double horizontal, double vertical, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) - Specified by:
engine$onScrollin interfaceEngineMouseHandler
-