Closed nicoxxl closed 1 year ago
Hi @nicoxxl, does the fastanvil::Region
struct not allow what you need?
You can create a new region with that and write chunks to it. It doesn't help you create chunks though. fastanvil doesn't contain a writable chunk type (it doesn't deserialize entities for example), you'd have to make that struct yourself.
It also doesn't handle the filename and directory structure necessary.
One of the examples allows rewriting a dimension: https://github.com/owengage/fastnbt/blob/master/fastanvil/examples/anvil-palette-swap.rs
fastanvil
allow for reading maps but not writing.It would be nice that it could.
Before edit :