Package me.hackware.api.event.impl
Class BlockBreakStartEvent
java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.BlockBreakStartEvent
Fired when the player begins breaking a block (left-click on a block).
Cancel to prevent the break from starting.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockBreakStartEvent(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPosnet.minecraft.core.DirectionMethods inherited from class me.hackware.api.event.Event
cancel, isCancelled
-
Constructor Details
-
BlockBreakStartEvent
public BlockBreakStartEvent(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction)
-
-
Method Details
-
getBlockPos
public net.minecraft.core.BlockPos getBlockPos() -
getDirection
public net.minecraft.core.Direction getDirection()
-