Closed GroobleDierne closed 3 years ago
By the way, https://github.com/PrismarineJS/prismarine-nbt/pull/48 is missing the implementation of NBTLong and NBTDouble.
By the way, PrismarineJS/prismarine-nbt#48 is missing the implementation of NBTLong and NBTDouble.
its missing a lot yeah, you can add that in this pr if its needed
Ready IMO
if it doesnt have any data anymore, whats the point in storing this function here, if you create the actual nbt data in user code
if it doesnt have any data anymore, whats the point in storing this function here, if you create the actual nbt data in user code
I agree, not much of interest other than providing an abstraction layer to compress the data and write the file. It's just a utility function like readLevel so I think it makes sense to keep it.
this is breaking and I don't see the benefit, please rethink it if you need the feature
Currently
writeLevel()
only let you define theRandomSeed
field but level.dat aims to contain way more data, you can now add whatever data you want. This PR is a breaking change (for flying-squid for instance) but it avoid introducing breaking changes in the future when there will be a need to add more data.