package coords

type MapBlockCoords struct {
	X int `json:"x"`
	Y int `json:"y"`
	Z int `json:"z"`
}

func NewMapBlockCoords(x, y, z int) *MapBlockCoords {
	return &MapBlockCoords{X: x, Y: y, Z: z}
}

type MapBlockRange struct {
	Pos1, Pos2 *MapBlockCoords
}

const (
	MaxCoord = 2047
	MinCoord = -2047
)