Max Hardness Predicate
A BlockDestructionPredicate, which only allows breaking blocks with a maximum hardness of maxHardness. This disallows breaking unbreakable blocks.
Parameters
max Hardness
The maximum allowed hardness
Constructors
Link copied to clipboard
Creates a new MaxHardnessPredicate instance.
Inherited functions
Link copied to clipboard
public BiPredicate<ServerWorld, BlockPos> and(BiPredicate<? super ServerWorld, ? super BlockPos> p0)
Link copied to clipboard
Link copied to clipboard