class

Nbt::Region

Inherits Reference < Object

Constants

CHUNK_SIZE = 16
SIZE = 32

Constructors

new(io : IO)
Source

Class methods

chunk_coords(x : Float64, z : Float64)
Source
region_coords(x : Float64, z : Float64)
Source

Instance methods

read_chunk(x : Int32, z : Int32)

Parameters:

  • x : X coordinate of the chunk
  • z : Z coordinate of the chunk
Source
timestamp(x : Int32, z : Int32)
Source

Nested types