GoldBlockStaffShapePredicate

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

Properties

Link copied to clipboard
private final BlockBox volume

The bounding volume of the destroyable blocks.

Functions

Link copied to clipboard
public final BlockBox getVolume()

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