In Truncated Pyramid Predicate
public final class InTruncatedPyramidPredicate implements BiPredicate<ServerWorld, BlockPos>(source)
A BlockDestructionPredicate, which only allows breaking blocks in a truncated pyramid. The near and far sides of the truncated pyramid are the top and bottom sides.
Parameters
near
The center point of the near side of the truncated pyramid
near Size
The width and height of the near side of the truncated pyramid
far
The center point on the far side of the truncated pyramid
far Size
The width and height of the far side if the truncated pyramid
up
The direction pointing "upwards" relative to the block destroyer's POV (perpendicular to far-near
vector)
Constructors
Link copied to clipboard
public InTruncatedPyramidPredicate InTruncatedPyramidPredicate(Vec3d near, Vec2f nearSize, Vec3d far, Vec2f farSize, Vec3d up)
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