Contains a description of a vector.
const vec3 = { x: 0, y: 0, z: 0 }; Copy
const vec3 = { x: 0, y: 0, z: 0 };
import { Vector3 } from "@minecraft/server";const vec3: Vector3 = { x: 0, y: 0, z: 0 }; Copy
import { Vector3 } from "@minecraft/server";const vec3: Vector3 = { x: 0, y: 0, z: 0 };
X component of this vector.
Y component of this vector.
Z component of this vector.
Contains a description of a vector.
Example
createVector3.js
Example
createVector3.ts