Event System
Hook into game events with @EventHandler. Player connections, chat, combat, and more.
← Back to Events
com.hypixel.hytale.server.core.event.events.player
Fired when player presses or releases a mouse button.
Fields
| Field | Type | Getter |
|---|---|---|
| playerRef | PlayerRef | — |
| clientUseTime | long | getClientUseTime() |
| itemInHand | Item | getItemInHand() |
| targetBlock | Vector3i | getTargetBlock() |
| targetEntity | Entity | getTargetEntity() |
| screenPoint | Vector2f | getScreenPoint() |
| mouseButton | MouseButtonEvent | getMouseButton() |
| cancelled | boolean | isCancelled() |