NetheriteBlockStaffShapePredicate
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
forwardVector
Vector pointing "forward" relative to the block destroyer's POV
upVector
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