Skip to content

Commit

Permalink
update NBT type
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Watton committed Oct 21, 2020
1 parent facebc8 commit d9797c9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/Region.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BinaryData } from './BinaryData'
import { LocationTable, ILocationTableItem } from './Anvil'
import zlib from 'zlib'
import { ByteTag, CompoundTag, IntArrayTag, IntTag, Tag } from '@strdst/utils.nbt'
import { ByteArrayTag, ByteTag, CompoundTag, IntArrayTag, IntTag, ListTag, LongTag } from '@strdst/utils.nbt'

export enum ChunkCompression {
GZIP = 1,
Expand All @@ -13,6 +13,22 @@ type ChunkNBT = CompoundTag<{
LightPopulated: ByteTag,
zPos: IntTag,
HeightMap: IntArrayTag,
LastUpdate: LongTag,
Biomes: ByteArrayTag,
InhabitedTime: LongTag,
xPos: IntTag,
TileEntities: ListTag<CompoundTag>,
Entities: ListTag<CompoundTag>,
TileTicks: ListTag,
Sections: ListTag<CompoundTag<{
Y: ByteTag,
SkyLight: ByteArrayTag,
Blocks: ByteArrayTag,
BlockLight: ByteArrayTag,
Data: ByteArrayTag,
}>>,
V: ByteTag,
TerrainPopulated: ByteTag
}>,
}>

Expand Down

0 comments on commit d9797c9

Please sign in to comment.