DiamondBlockStaffShapePredicate

A BlockDestructionPredicate, which only allow breaking blocks in the Diamond 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

rng

Random number generator deciding the pattern of destruction

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final BlockBox volume

The bounding volume of the destroyable blocks.

Functions

Link copied to clipboard

The bounding volume of the destroyable blocks.

Link copied to clipboard
public Boolean test(ServerWorld world, BlockPos pos)

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard