Recent Discussions
NBT Find and Replace
Unanswered
Dutch posted this in #questions
4 messages
0 views
DutchOP
Having an absolute nightmare here. Trying to effectively "find and replace" across all NBT tags for a server's world (moving from the Fabric version of Apotheosis (Zenith) to the Forge version (Apotheosis)). Given the mod ID change, I want to preserve as much data as possible, even though I know some is still likely going to be lost from this.
I can't understand NBTExplorer's find and replace, and both nbtlib (Python) and primsarine-nbt (JavaScript) seem to struggle due to the format of region files and other types of NBT files in worlds. Anyone know what I could do? Happy to program against any library that's workable or have some instructions on how to do this with NBTExplorer.
I can't understand NBTExplorer's find and replace, and both nbtlib (Python) and primsarine-nbt (JavaScript) seem to struggle due to the format of region files and other types of NBT files in worlds. Anyone know what I could do? Happy to program against any library that's workable or have some instructions on how to do this with NBTExplorer.
DutchOP
The actual direct goal is to, for every NBT tag, replace all instances of
"zenith" with "apotheosis".DutchOP
World is for 1.20.1, to clarify
DutchOP
I put together an extremely hacky mod that ended up doing this for me.
EDIT: If someone stumbles on this thread in the future and wants any details for any reason, feel free to get in touch with me.
EDIT: If someone stumbles on this thread in the future and wants any details for any reason, feel free to get in touch with me.
Loading...
Loading...