Skip to content

BreakBlockEvent

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

public class BreakBlockEvent extends CancellableEcsEvent

A cancellable ECS event fired when the corresponding BreakBlock action occurs.

ModifierTypeName
@Nullable private finalItemStackitemInHand
@Nonnull privateVector3itargetBlock
@Nonnull private finalBlockTypeblockType
ModifierReturn TypeSignature
publicBreakBlockEvent(@Nullable ItemStack itemInHand, @Nonnull Vector3i targetBlock, @Nonnull BlockType blockType)
@Nullable publicItemStackgetItemInHand()
@Nonnull publicVector3igetTargetBlock()
@Nonnull publicBlockTypegetBlockType()
publicvoidsetTargetBlock(@Nonnull Vector3i targetBlock)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.