Skip to content

UseBlockEvent

Package: com.hypixel.hytale.server.core.event.events.ecs

public abstract class UseBlockEvent extends EcsEvent

Abstract base class extending EcsEvent that provides shared logic for UseBlockEvent subclasses.

ModifierTypeName
@Nonnull private finalInteractionTypeinteractionType
@Nonnull private finalInteractionContextcontext
@Nonnull private finalVector3itargetBlock
@Nonnull private finalBlockTypeblockType
ModifierReturn TypeSignature
publicUseBlockEvent(@Nonnull InteractionType interactionType, @Nonnull InteractionContext context, @Nonnull Vector3i targetBlock, @Nonnull BlockType blockType)
@Nonnull publicInteractionTypegetInteractionType()
@Nonnull publicInteractionContextgetContext()
@Nonnull publicVector3igetTargetBlock()
@Nonnull publicBlockTypegetBlockType()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.