Event System

Hook into game events with @EventHandler. Player connections, chat, combat, and more.

← Back to Events

PlayerMouseMotionEvent

Player Cancellable Async Safe

com.hypixel.hytale.server.core.event.events.player

Fired when player moves their mouse/camera.

Fields

Field Type Getter
clientUseTime long getClientUseTime()
itemInHand Item getItemInHand()
targetBlock Vector3i getTargetBlock()
targetEntity Entity getTargetEntity()
screenPoint Vector2f getScreenPoint()
mouseMotion MouseMotionEvent getMouseMotion()
cancelled boolean isCancelled()