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 the circuitbreakable
tag.final Unit
tryBreakNull(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in the nullbreakablefixed
tag.-
-
Method Detail
-
tryBreakCircuit
final Unit tryBreakCircuit(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in the
circuitbreakable
tag.
-
tryBreakNull
final Unit tryBreakNull(LevelAccessor level, BlockPos pos)
Break a block at the given position if it's in the
nullbreakablefixed
tag.
-
-
-
-