Event System
Hook into game events with @EventHandler. Player connections, chat, combat, and more.
← Back to Events
com.hypixel.hytale.server.core.event.events.ecs
Fired when a block is used/activated. Has Pre and Post variants. ECS event.
Fields
| Field | Type | Getter |
|---|---|---|
| interactionType | InteractionType | getInteractionType() |
| context | InteractionContext | getContext() |
| targetBlock | Vector3i | getTargetBlock() |
| blockType | BlockType | getBlockType() |
| cancelled | boolean | isCancelled() |