UseBlockEvent
Package: com.hypixel.hytale.server.core.event.events.ecs
public abstract class UseBlockEvent extends EcsEventAbstract base class extending EcsEvent that provides shared logic for UseBlockEvent subclasses.
Fields
Section titled “Fields”| Modifier | Type | Name |
|---|---|---|
@Nonnull private final | InteractionType | interactionType |
@Nonnull private final | InteractionContext | context |
@Nonnull private final | Vector3i | targetBlock |
@Nonnull private final | BlockType | blockType |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | UseBlockEvent(@Nonnull InteractionType interactionType, @Nonnull InteractionContext context, @Nonnull Vector3i targetBlock, @Nonnull BlockType blockType) | |
@Nonnull public | InteractionType | getInteractionType() |
@Nonnull public | InteractionContext | getContext() |
@Nonnull public | Vector3i | getTargetBlock() |
@Nonnull public | BlockType | getBlockType() |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.