NetheriteBlockStaffShapePredicate

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
constructor(origin: BlockPos, forwardVector: Vec3i, upVector: Vec3i)

Properties

Link copied to clipboard
open override val volume: BlockBox

The bounding volume of the destroyable blocks.

Functions

Link copied to clipboard
open override fun test(world: ServerWorld, pos: BlockPos): Boolean

Inherited functions

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