Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRequiredLongs ¶
Types ¶
type Chunk ¶
type Chunk struct {
Sections []ChunkSection
X int
Z int
BlockEntities []save.BlockEntity
}
func EmptyChunk ¶
func (Chunk) SetSection ¶
func (c Chunk) SetSection(index int, section ChunkSection)
type ChunkSection ¶
type ChunkSection struct {
Blocks []*save.BlockState
Biomes []*save.BiomeState
SkyLight []byte
BlockLight []byte
}
func EmptyChunkSection ¶
func EmptyChunkSection(protocolId int) ChunkSection
func (*ChunkSection) ToBiomeNBT ¶
func (cs *ChunkSection) ToBiomeNBT() ([]save.BiomeState, []int)
func (*ChunkSection) ToNBT ¶
func (cs *ChunkSection) ToNBT() ([]save.BlockState, []int)
Click to show internal directories.
Click to hide internal directories.