Versions in this module Expand all Collapse all v0 v0.0.1 Jul 14, 2022 Changes in this version + var ErrFormt = errors.New("错误的格式") + var ErrInvalidChunk = errors.New("invalid chunk") + var ErrNBTUUID = errors.New("错误的 uuid") + var ErrNotInt32 = errors.New("不是 int32") + var ErrNotMap = errors.New("not map") + var ErrNotSlice = errors.New("不是 slice") + var ErrNotStruct = errors.New("不是 struct") + var ErrOutRange = errors.New("超过数组范围") + var ErrPos = errors.New("错误的坐标") + var ErrUnKnownCompression = errors.New("unknown compression") + func BlockPos2Mca(x, z int) string + func WriteChunk(d Region[[]Entities]) error + type Chunk struct + Data K + X int + Z int + type Entities struct + PATH map[string]string + POS []int + Root string + UUID string + type ErrNotExistSector struct + FilePath string + X int + Z int + func (e ErrNotExistSector) Error() string + type Region struct + Chunk []Chunk[K] + FilePath string + func PaseMca(f io.ReadWriteSeeker, filePath string) (Region[[]Entities], error) + func (r *Region[K]) RemoveNull()