ForeverZer0 / SharpNBT

A pure CLS-compliant C# implementation of the Named Binary Tag (NBT) format specification commonly used with Minecraft applications, allowing easy reading/writing streams and serialization to other formats.
MIT License
25 stars 9 forks source link

I want to modify the file or change the name of the world #8

Closed Enmn closed 1 year ago

Enmn commented 1 year ago

In fact, I did not know how to modify *dat files. I wanted to change the name of the world in Minecraft Java, and I did not know how to modify

ForeverZer0 commented 1 year ago

The name of the tag is LevelName in the level.dat file of your save file. While you could use this library to open, edit, and save a new value to this tag, its purpose is more suited as a back-end tool for developers and other programs.

For your scenario, I would recommend the use of a graphical front-end like NBTEditor.

screen