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.