Options
All
  • Public
  • Public/Protected
  • All
Menu

Extension of Vec3i more frequently used when a vector represents the position of a certain block in the world

since

5.0

Hierarchy

Index

Constructors

Properties

x: number
y: number
z: number
NULL_VECTOR: Vec3i
new Vec3i(0, 0, 0);
since

5.0

ORIGIN: BlockPos
new BlockPos(0, 0, 0);
since

5.0

class: Class<Object>

Methods

  • clone(): any
  • compareTo(otherVec: Vec3i): number
  • distanceSq(x: number, y: number, z: number): number
  • distanceSq(to: Vec3i): number
  • distanceSqToCenter(x: number, y: number, z: number): number
  • equals(param0: any): boolean
  • finalize(): void
  • getDistance(x: number, y: number, z: number): number
  • getX(): number
  • getY(): number
  • getZ(): number
  • hashCode(): number
  • notify(): void
  • notifyAll(): void
  • toLong(): number
  • since

    5.0

    Returns number

    coordinates of the following BlockPos packed into a signed 64-bit integer

  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void

Generated using TypeDoc