struct Nbt::Region::Header
- Nbt::Region::Header
- Struct
- Value
- Object
Overview
A region file has 1024 entries of 4 bytes followed by 1024 entries for 4 byte timestamps
Defined in:
region.crConstant Summary
-
BYTE_SIZE =
4
-
ENTRIES =
1024
Constructors
Instance Method Summary
-
#offset
returns the heander entry offset for a chunk at x and z coordinates.
-
#timestamp_offset
The timestamps are listed in the second part of the header
- #x : Int32
- #z : Int32