Mouse

public class Mouse

Utilities related to the virtual mouse.

Types

ClickMethod
Link copied to clipboard
public enum ClickMethod
Represents an entity clicking method

Functions

getClickMethod
Link copied to clipboard
static Mouse.ClickMethod getClickMethod()
Gets the set click method.
getSpeed
Link copied to clipboard
static int getSpeed()
Gets the set mouse speed.
isOnScreen
Link copied to clipboard
static boolean isOnScreen()
Determines if the mouse is on screen or not.
leaveScreen
Link copied to clipboard
static void leaveScreen()
Makes the mouse move offscreen.
setClickMethod
Link copied to clipboard
static void setClickMethod(Mouse.ClickMethod clickMethod)
Sets the click method.
setSpeed
Link copied to clipboard
static void setSpeed(int speed)
Sets the mouse speed.