rebane2001 / mapartcraft

A Minecraft custom mapart schematica generator, designed to be feasible in survival in servers like 2b2t
GNU General Public License v3.0
230 stars 48 forks source link

Unable to convert NBT files to Schematic files properly for any version after 1.12 #125

Closed ArgentVASIMR closed 3 years ago

ArgentVASIMR commented 3 years ago

MCEdit and Cubical are both pre-1.13 Minecraft editors. Any block from a future update either causes an error, or- in cubical's case- shows up as stone and completely ruins the entire image.

Original image: image

Mapartcraft conversion: (Staircasing off, using Floyd-Steinberg dithering) image

Result from converting to .schematic using cubical.xyz: image image

Unless Cubical or MCEdit somehow upgraded to 1.13+ (Hopefully up to 1.16, if they're still being worked on at all), there's no way of converting a 1.13+ NBT file into a sponge schematic. I know this is more of a problem about external tools than it is about Mapartcraft, but this is a bit of a request to consider support for downloading schematic files straight from your website too.

rebane2001 commented 3 years ago

If you want a format other than nbt/structure, then it's up to you to figure out how to convert it.

ArgentVASIMR commented 3 years ago

If you want a format other than nbt/structure, then it's up to you to figure out how to convert it.

Why would NBT be the preferred option? .schematic files are almost universally used more than NBT. If I'm wrong on this, then what's the most popular case of someone using NBT to generate structures?

rebane2001 commented 3 years ago

Minecraft natively supports reading/writing NBT, it does not support .schematic. In addition, .schematic is an outdated format that uses numeric block IDs (deprecated in 1.13!) instead of block names.

ArgentVASIMR commented 3 years ago

Minecraft natively supports reading/writing NBT, it does not support .schematic. In addition, .schematic is an outdated format that uses numeric block IDs (deprecated in 1.13!) instead of block names.

Fair point. Though, I wanted to make it a generatable structure in Worldedit, which only supports Sponge or MCEdit Schematics. After this, I would manually convert all the cobwebs into Mushroom stems since Mushroom stems are the same colour as of 1.13+. It's also just an easier way for me to look at staircase method maps instead of using litematica's transparent hologram.

rebane2001 commented 3 years ago

You can export maps as 1.12 and then convert them to .schematic in Cubical. However, you will not be able to use the new 1.16 nether block colors this way.

ArgentVASIMR commented 3 years ago

You can export maps as 1.12 and then convert them to .schematic in Cubical. However, you will not be able to use the new 1.16 nether block colors this way.

So how does one get a physical version of a staircase map art with 1.16 blocks included? If there isn't any way to do it right now, shouldn't one be made for those who need it? Also, mushroom stem is missing from your colour list. There's been a few tickets about this, and even documentation on the Minecraft wiki listing it as the same colour as cobwebs: https://minecraft.gamepedia.com/Map_item_format#Map_colors

If I can't get a physical structure with 1.16 blocks, can mapartcraft at least be updated with mushroom stem as an alternative to cobwebs? Yes, I could just use 1.12 blocks, but this breaks colour depth. Yes, I could just use the NBT file as-is, but then it'll tell me to use cobwebs. Is it possible for one or the other be done?

rebane2001 commented 3 years ago

1.12 blocks don't break color depth lol. You can use the nbt file with litematica or a structure block. Mushrooms stems are out of the scope of this issue.

ArgentVASIMR commented 3 years ago

1.12 blocks don't break color depth lol. You can use the nbt file with litematica or a structure block. Mushrooms stems are out of the scope of this issue.

Well, I mean it reduces colour depth, but I want to get the most out of map art. I could do it with a structure block though, sounds reasonable enough, just need to download the chunk-by-chunk splits instead because of structure block limits. I assume that last comment is a way of telling me me to open up a separate ticket for this, adding to the other ones regarding the mushroom stem? It was relevant because it's the only major reason I wanted to get a physical loaded version of my map art.

Gabocota commented 1 year ago

Sorry but there's no public way of converting such file to .schem or .schematic and minecraft just loads an empty cube when loading the .nbt file directly