Minecraft Wiki
Advertisement

How to do actually convert files?

This is not really a tutorial. It ends at "the command line will show a list of options and descriptions", but then doesn't tell me what to do to actually do something useful. I tried

java -cp server.jar net.minecraft.data.Main --input "/path/to/world/region/r.0.0.nbt" --output "/path/to/output/folder"

after renaming r.0.0.mca to r.0.0.nbt. The result is a folder called ".cache" with an empty "cache" file inside. Fabian42 (talk) 00:01, 29 February 2020 (UTC)

The link to the German wiki helped. I'm pretty sure now that just writing "--dev" before "--input" in my example command should work. But it doesn't. I created a bug report about it: bugs.mojang.com/browse/MC-173446 Fabian42 (talk) 16:00, 29 February 2020 (UTC)

I think the problem is that you were passing the path to a specific NBT file into the ——input argument, when it needs to be the path to a directory containing at least one valid NBT file (e.g. level.dat renamed to level.nbt). I’ve added another section attempting to address this as well as the lack of actual tutorial you pointed out. Feigne (talk) 01:59, 18 December 2020 (UTC)

Advertisement