Package net.lax1dude.eaglercraft.v1_8
Class Mouse
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.Mouse
-
public class Mouse extends java.lang.ObjectCopyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description Mouse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetDWheel()static intgetDX()static intgetDY()static intgetEventButton()static booleangetEventButtonState()static intgetEventDWheel()static intgetEventX()static intgetEventY()static intgetX()static intgetY()static booleanisActuallyGrabbed()static booleanisButtonDown(int i)static booleanisCreated()static booleanisInsideWindow()static booleanisMouseGrabbed()static booleannext()static voidsetCursorPosition(int x, int y)static voidsetGrabbed(boolean grab)
-
-
-
Method Detail
-
getEventDWheel
public static int getEventDWheel()
-
getX
public static int getX()
-
getY
public static int getY()
-
getEventButtonState
public static boolean getEventButtonState()
-
isCreated
public static boolean isCreated()
-
next
public static boolean next()
-
getEventX
public static int getEventX()
-
getEventY
public static int getEventY()
-
getEventButton
public static int getEventButton()
-
isButtonDown
public static boolean isButtonDown(int i)
-
getDWheel
public static int getDWheel()
-
setGrabbed
public static void setGrabbed(boolean grab)
-
getDX
public static int getDX()
-
getDY
public static int getDY()
-
setCursorPosition
public static void setCursorPosition(int x, int y)
-
isInsideWindow
public static boolean isInsideWindow()
-
isActuallyGrabbed
public static boolean isActuallyGrabbed()
-
isMouseGrabbed
public static boolean isMouseGrabbed()
-
-