Diamond Block Staff Shape Predicate
public final class DiamondBlockStaffShapePredicate implements BiPredicate<ServerWorld, BlockPos>(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
Constructors
Link copied to clipboard
public DiamondBlockStaffShapePredicate DiamondBlockStaffShapePredicate(BlockPos origin, Vec3i forwardVector, Vec3i upVector, Random rng)
Properties
Functions
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