Documentation ¶
Index ¶
Constants ¶
View Source
const LatestVersion int16 = 3
View Source
const MagicNumber = 0x506F6C72 // `Polr`
Variables ¶
This section is empty.
Functions ¶
func ChunkPosFromXYZ ¶
Types ¶
type BlockEntity ¶
type ChunkIndex ¶
type ChunkIndex int64
func ChunkIndexFromXZ ¶
func ChunkIndexFromXZ(x, z int) ChunkIndex
func (ChunkIndex) X ¶
func (c ChunkIndex) X() int
func (ChunkIndex) Z ¶
func (c ChunkIndex) Z() int
type Compression ¶
type Compression int8
const ( CompressionNone Compression = iota CompressionZstd )
type Section ¶
type World ¶
type World struct { Version int16 Compression Compression MinSection int8 MaxSection int8 // contains filtered or unexported fields }
func (*World) SectionCount ¶
Click to show internal directories.
Click to hide internal directories.