Class BlockBreakStartEvent

java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.BlockBreakStartEvent

public class BlockBreakStartEvent extends Event
Fired when the player begins breaking a block (left-click on a block). Cancel to prevent the break from starting.
  • 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()