Class MineStartEvent

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

public class MineStartEvent extends Event
Fired when SilentMine claims a block into one of its mining slots and starts breaking it. Not fired for the insta-mine fast path (bare STARTs that never occupy a slot) or for slot-internal promotions of a block already being mined.
  • Constructor Details

    • MineStartEvent

      public MineStartEvent(net.minecraft.core.BlockPos blockPos, MinePhase phase, me.hackware.client.modules.categories.player.SilentMine.MineSource source, String owner)
  • Method Details

    • getBlockPos

      public net.minecraft.core.BlockPos getBlockPos()
    • getPhase

      public MinePhase getPhase()
      The slot the block was claimed into.
    • getSource

      public me.hackware.client.modules.categories.player.SilentMine.MineSource getSource()
      What requested the break.
    • getOwner

      public String getOwner()
      The request's ownership tag, or null for untagged work.