How to work with ChunkDataStream

Hey all,

So I’m not quite sure how to use ChunkDataStream in the context of completely editing a premade world.

I have garnered from the jd and the docs that it has to be done asynchronously or bad things happen, and it relies on something kinda like:

But as indicated by my ???'s, I didn’t find anything in the docs for converting DataContainers returned by a chunk data stream to mutable (or immutable) block volumes/ chunk data. So… how do?

DataContainer is mostly equivalent to NBT. The ChunkDataStream iterates through the raw chunk data files that have been generated.

Ah…

So I’ve determined the problem I’m trying to solve, although ‘best’ tacked by using a ChunkDataStream is beyond the scope of my abilities for the moment. I’m gonna try and find a different way to do the same thing.