Help for the Map Art Generator and Java NBT Structure loader in "8Crafter's Debug Sticks, Chat Ranks, Custom UI, and JavaScript Commands" (Versions 1.14.0+)
In Versions 1.14.0+ of "8Crafter's Debug Sticks, Chat Ranks, Custom UI, and JavaScript Commands" there is a feature that allows you to generate map arts in game. This works by you getting the nbt data for the stucture for the map art and the copying and pasting it into a UI in the game. This page has a tutorial on the best way to do this, and it also has a data compressor to drastically reduce the time it takes for the text to paste into minecraft (Because depending on the amount of text that you are pasting, the game will freeze for anywhere from 10 seconds to half an hour, the compressor reduces the amount of text you will paste, so the game won't freeze for as long while pasting the text in to the text box.).Tutorial
Step 1:
First, you will need something to generate the .nbt file for the map art, I would reccommend https://rebane2001.com/mapartcraft/. If you decide to go with the option I reccommended then you will need to follow the following tutorial in order to select the correct presets, if you do not do this, then when you convert it to Prismarine-NBT with MCBE-Essentials, it will cause some of the block types to just turn into air instead.Step 2:
Next, you will need to create the .nbt file for your map art, if you are using the generator that I recommended then just do the following. First, click on pick image.Next, select an image from your file picker. Then, choose the staircasing mode you want it to use in the "Staircasing" dropdown.
Note: If you choose On (Classic) or On (Valley) instead of Off (2D) then it will take much longer to paste it into minecraft because there will be a lot more data.
Then, select "important blocks" in the "Add blocks under" dropdown and set "Block to add" to "structure_void".
Finally, select "DOWNLOAD NBT" and save the file.
Step 3:
Next, you must do one of the following: use MCBE Essentials to convert the Java .nbt structure into a Prismarine-NBT Formatted JSON Object (Recommended Option), convert the .nbt file to SNBT format using something like the NBT Viewer extension for the desktop app version of Visual Studio Code, or use something like MCBE Essentials to convert the .nbt file to a bedrock edition .mcstructure file and then convert that .mcstructure file to SNBT format.Convert .nbt to Prismarine-NBT Formatted JSON Object (Recommended)
Step 1:
Go to https://mcbe-essentials.github.io/structure-editor/.
Step 2:
Click on "Upload" and select the .nbt file from your file picker.
Step 3:
Click on the "Node Editor" tab at the top of the screen.
Step 4:
Scroll down and click on "Text" in the bottom left of the node editor.
Step 5:
Select all the text and copy it to your clipboard.
Step 6:
Scroll down to the bottom of this webpage to the "Data Compressor" section and paste the text that you just copied into the "NBT
Data" text box.
Step 7:
Select "Prismarine-NBT Formatted JSON Object" from the "Input NBT Data Type" dropdown.
Step 8:
Click on the "Compress/Convert NBT" button.
Step 9:
If the text in the "Compressed Version" text box is red, then make sure that you followed the other steps correctly, otherwise
if the text is black like normal, then just select all the text in the "Compressed Version" text box, and then copy it to your
clipboard. Then, continue to Step 4.
Convert .nbt to .mcstructure, and then convert .mcstructure to SNBT
Step 1:
Go to https://mcbe-essentials.github.io/structure-editor/.
Step 2:
Click on "Upload" and select the .nbt file from your file picker.
Step 3:
Click on the "Download" tab at the top of the screen.
Step 4:
Uncheck all of the checkboxes except for "Include blocks" and "Keep block states", and set the "Export as" dropdown to
mcstructure.
Step 5:
Install Visual Studio Code on your PC if you haven't done so already.
Step 6:
Install the NBT Viewer extension on Visual
Studio Code
Step 7:
Open the .mcstructure file in Visual Studio Code.
Step 8:
It will say that it can't display the file, just click open anyway.
Step 9:
Then, in the pop-up that appears just click on NBT Viewer.
Step 10:
Go to the SNBT tab of the NBT Viewer.
Step 11:
Select all the text and copy it to your clipboard.
Step 12:
Scroll down to the bottom of this webpage to the "Data Compressor" section and paste the text that you just copied into the "NBT
Data" text box.
Step 13:
Select "Bedrock .mcstructure SNBT" from the "Input NBT Data Type" dropdown.
Step 14:
Click on the "Compress/Convert NBT" button.
Step 15:
If the text in the "Compressed Version" text box is red, then make sure that you followed the other steps correctly, otherwise
if the text is black like normal, then just select all the text in the "Compressed Version" text box, and then copy it to your
clipboard. Then, continue to Step 4.
Convert .nbt to SNBT
Step 1:
Install Visual Studio Code on your PC if you haven't done so already.
Step 2:
Install the NBT Viewer extension on Visual
Studio Code
Step 3:
Open the .nbt file in Visual Studio Code.
Step 4:
It will say that it can't display the file, just click open anyway.
Step 5:
Then, in the pop-up that appears just click on NBT Viewer.
Step 6:
Go to the SNBT tab of the NBT Viewer.
Step 7:
Select all the text and copy it to your clipboard. Steps 9-11 are optional, but they will greatly reduce the time it take to
paste the data into minecraft, if you choose not to do them then just continue to Step 3.
Step 8:
Scroll down to the bottom of this webpage to the "Data Compressor" section and paste the text that you just copied into the "NBT
Data" text box.
Step 9:
Select "Java SNBT" from the "Input NBT Data Type" dropdown.
Step 10:
Click on the "Compress/Convert NBT" button.
Step 11:
If the text in the "Compressed Version" text box is red, then make sure that you followed the other steps correctly, otherwise
if the text is black like normal, then just select all the text in the "Compressed Version" text box, and then copy it to your
clipboard. Then, continue to Step 4.
Step 4:
Finally, open up your world/realm/server on Minecraft Bedrock Edition (make sure that the world has the add-on "8Crafter's Debug Sticks, Chat Ranks, Custom UI, and JavaScript Commands" activated on it, and that the version of it that is on there is version 1.14.0 or later). Then, open up the main menu, either by using a "Selection Menu" item or typing one of the following chat commands (you will need the "canUseChatCommands" tag to run them): "\mainmenu", "\menu", or "\mm". Then scroll down to the bottom of the main menu and click on "Map Art Generator [Experimental]".Next, in the text box at the very top, click on it and paste in the text that you copied at the end of Step 3.
IMPORTANT!: When you paste in the text your game will freeze temporarily, BUT IT IS NOT BROKEN AND YOU DO NOT NEED TO CLOSE YOUR GAME, all you need to do is just wait, depending on how much text you pasted in it will freeze for anywhere from a second to about 2 hours, but most likely, if you used the data compressor, it should take at most around 20 seconds, if you used the data compressor and also turned off staircasing when generating the .nbt file, then it should probably take around 2-10 seconds. Once the game unfreezes you will see the text you just pasted inside of the text box, now just scroll down to the bottom, then if you used mapartcraft to generate the map art then make sure to set the "Offset z" option to "-1". Now click on "Generate Map Art".