Object BlockBreakHelper
-
- All Implemented Interfaces:
public class BlockBreakHelper
Utilities for attempting to break blocks if they're in a specific tag.
-
-
Field Summary
Fields Modifier and Type Field Description public final static BlockBreakHelper
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
tryBreakCircuit(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in circuit's breakable tag. final Unit
tryBreakNIW(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in NIW's breakable tag. final Unit
tryBreakNull(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in null's breakable tag. -
-
Method Detail
-
tryBreakCircuit
final Unit tryBreakCircuit(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in circuit's breakable tag.
-
tryBreakNIW
final Unit tryBreakNIW(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in NIW's breakable tag.
-
tryBreakNull
final Unit tryBreakNull(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in null's breakable tag.
-
-
-
-