public class BreakBlockEvent extends CancellableEcsEvent
Event fired when breakblock occurs. Listen for this event using EventBus.register.
java.lang.Object > CancellableEcsEvent > BreakBlockEvent
Field Summary
targetBlock
private
Vector3i
targetBlock
Field targetBlock.
Method Detail
BreakBlockEvent
public
public
BreakBlockEvent
(@Nullable final ItemStack itemInHand, @Nonnull final Vector3i targetBlock, @Nonnull final BlockType blockType)
Method BreakBlockEvent.
- Parameters:
@Nullable final ItemStackitemInHand@Nonnull final Vector3itargetBlock@Nonnull final BlockTypeblockType