Diamond Block Staff Shape Predicate
class DiamondBlockStaffShapePredicate(origin: BlockPos, forwardVector: Vec3i, upVector: Vec3i, rng: Random) : IShapedBlockDestructionPredicate(source)
A BlockDestructionPredicate, which only allow breaking blocks in the Diamond Block Staff's shape.
Parameters
origin
The starting point of the destruction
forward Vector
Vector pointing "forward" relative to the block destroyer's POV
up Vector
Vector pointing "upward" relative to the block destroyer's POV
rng
Random number generator deciding the pattern of destruction