Package net.lax1dude.eaglercraft.v1_8
Class Mouse
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.Mouse
-
public class Mouse extends java.lang.Object
Copyright (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 int
getDWheel()
static int
getDX()
static int
getDY()
static int
getEventButton()
static boolean
getEventButtonState()
static int
getEventDWheel()
static int
getEventX()
static int
getEventY()
static int
getX()
static int
getY()
static boolean
isActuallyGrabbed()
static boolean
isButtonDown(int i)
static boolean
isCreated()
static boolean
isInsideWindow()
static boolean
isMouseGrabbed()
static boolean
next()
static void
setCursorPosition(int x, int y)
static void
setGrabbed(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()
-
-