Interface DimensionVector2

Represents a two-directional vector with an associated dimension.

interface DimensionVector2 {
    dimension: "overworld" | "nether" | "the_end";
    x: number;
    y: number;
}

Hierarchy (View Summary)

Properties

Properties

dimension: "overworld" | "nether" | "the_end"

Dimension that this coordinate is associated with.

x: number

X component of this vector.

y: number

Y component of this vector.