SingleValuePalette

This commit is contained in:
Tnze
2021-12-19 09:53:45 +08:00
parent 70b0fbf1b7
commit 10c3b8771e
4 changed files with 87 additions and 19 deletions

View File

@ -37,7 +37,7 @@ func (c *chunkData) WriteTo(w io.Writer) (int64, error) {
// Heightmaps
pk.NBT(struct {
MotionBlocking []uint64 `nbt:"MOTION_BLOCKING"`
}{c.HeightMaps.Longs()}),
}{c.HeightMaps.Raw()}),
pk.ByteArray(c.Data()), // TODO: Chunk Data
pk.VarInt(0), // TODO: Block Entity
}.WriteTo(w)