Class AsyncPlayerMoveMouseEvent
java.lang.Object
org.bukkit.event.Event
xyz.gmitch215.socketmc.events.SocketEvent
xyz.gmitch215.socketmc.events.input.AsyncPlayerMoveMouseEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionAsyncPlayerMoveMouseEvent
(@NotNull SocketPlayer player, double newX, double newY) Constructs a new PlayerMoveMouseEvent. -
Method Summary
Methods inherited from class xyz.gmitch215.socketmc.events.SocketEvent
getHandlerList, getHandlers, getPlayer, getSocketPlayer, toString
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AsyncPlayerMoveMouseEvent
Constructs a new PlayerMoveMouseEvent.- Parameters:
player
- The player that moved their mousenewX
- The new x position of the mousenewY
- The new y position of the mouse
-
-
Method Details
-
getNewX
public double getNewX()Gets the new x position of the mouse.- Returns:
- The new x position of the mouse
-
getNewY
public double getNewY()Gets the new y position of the mouse.- Returns:
- The new y position of the mouse
-