Vector3 wrapper class which can be used as a Vector3 for APIs on @minecraft/server which require a Vector, but also contain additional helper methods. This is an alternative to using the core Vector 3 utility methods directly, for those who prefer a more object-oriented approach. This version of the class is mutable and changes state inline.

For an immutable version of the build, use ImmutableVector3Builder.

Implements

Constructors

Properties

x: number

X component of this vector.

y: number

Y component of this vector.

z: number

Z component of this vector.

Methods

MMNEPVFCICPMFPCPTTAAATR