Querz / NBT

A java implementation of the NBT protocol, including a way to implement custom tags.
MIT License
182 stars 48 forks source link

1.18 Support? #72

Open cyberpwnn opened 2 years ago

cyberpwnn commented 2 years ago

I think mojang changed the nbt format for biomes. Now the biomes are stored per section, using their own data palette instead of the global id palette. That and the height changes are actually being used now (negative sections). Are there any plans to support 1.18?

9NONAGON commented 1 year ago

Also, there is no compound tag "Level" per region when calling MCAUtil.read()

Wolfyxon commented 1 year ago

I use it on 1.19.3 and it seems to be working fine

Clashbestie commented 1 year ago

The Level tag does no longer exist everything is nor directly in the root tag. Change Chunk.java L73 from CompoundTag level; to CompoundTag level = data; and remove Chunk.java L74-L76