Skip to main content

Callback.ItemUseCoordinates

Object used in some callbacks for coordinate set with side information and relative coordinates set.

Hierarchy

Index

Properties

relative

relative: Vector

Relative coordinates, coordinates of the block to the specified side of current block.

side

side: number

Side of the block, one of the EBlockSide constants.

optionalvec

vec?: Vector

Exact touch point, absolute point coordinates. Used only in "ItemUse" callback.

x

x: number

y

y: number

z

z: number