Netherite Block Staff Shape Predicate
public final class NetheriteBlockStaffShapePredicate implements BiPredicate<ServerWorld, BlockPos>(source)
A BlockDestructionPredicate, which only allow breaking blocks in the Netherite 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
Constructors
Link copied to clipboard
public NetheriteBlockStaffShapePredicate NetheriteBlockStaffShapePredicate(BlockPos origin, Vec3i forwardVector, Vec3i upVector)
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