Package me.hackware.api.event.impl
Class MineBreakEvent
java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.MineBreakEvent
Fired when a block tracked by a SilentMine slot breaks (turns to air). A phase of
MinePhase.REBREAK_ARMED means an armed rebreak popped a block that had been
re-placed on its position — the same position can fire repeatedly in that phase.
Insta-mine fast-path breaks (never slot-tracked) do not fire this event.-
Constructor Summary
ConstructorsConstructorDescriptionMineBreakEvent(net.minecraft.core.BlockPos blockPos, MinePhase phase, me.hackware.client.modules.categories.player.SilentMine.MineSource source, String owner) -
Method Summary
Methods inherited from class me.hackware.api.event.Event
cancel, isCancelled
-
Constructor Details
-
MineBreakEvent
-
-
Method Details
-
getBlockPos
public net.minecraft.core.BlockPos getBlockPos() -
getPhase
The slot that held the block when it broke. -
getSource
public me.hackware.client.modules.categories.player.SilentMine.MineSource getSource()What requested the break. -
getOwner
The request's ownership tag, or null for untagged work.
-