GraphMine

graphmine-core / io.github.sof3.graphmine.world / BlockLocation

BlockLocation

data class BlockLocation

A unique identifier for an integer location.

Out-of-bounds block locations are intentionally allowed, because normally out-of-bounds locations like negative locations may be valid for certain world formats. While they are not valid for the client, the World implementation is responsible for translating coordinates to something the client can see. This should not interfere with plugins’ ability to interpret the world in a sensible manner.

Constructors

<init> BlockLocation(vector: IntVector3, world: World)
A unique identifier for an integer location.

Properties

vector val vector: IntVector3
The positional vector of the location
world val world: World
The world that the location is in