• 189 views, 3 today
  • 2
  • 1
CMD-Golem avatar CMD-Golem
Level 57 : Grandmaster Engineer
Create a recipe for the Crafting Table that has an item with NBT data as result.

NBT-Crafting Generator

  1. First define the name of the Data Pack ID and select the Minecraft version you want to use for the Data Pack.
  2. Go to the first dark gray section, which contains all text fields for the first recipe. Paste the JSON code for the recipe (generator) and the result item with NBT in the according inputs.
    Create your recipe
    The recipe is used to create your item with NBT. The item that you have defined in the JSON recipe is displayed in the Crafting Table. Only when it has been placed in the inventory will it be replaced by the item with NBT.

    Since the clear command deletes the JSON recipe item, it must not be an item that could be in your inventory with NBT data. I recommend using items like Barriers, Structure Voids or Knowledge Books (for non-stackable items) instead.

    If you have defined multiple items as result, they will be transferred correctly when they are replaced.

    • If you need more then one recipe, you can add one by clicking on the according button in the navigation bar or by using the key combination Ctrl + Enter.
    • Navigate quickly between all recipes by using the buttons in the left sidebar.
  3. To download the finished Data Pack you can, again, use the button in the navigation bar or the key combination Ctrl + S.

Change file names and directories
To change file names and directories you have to activate the checkbox in the spoiler "Advanced Options" bellow the version selection.

Afterwards you can change the file path for all files in each dark gray section under the spoiler "Advanced options". The grey placeholder text is the current path and will be used unless you overwrite it.

If you use the $ character in Folder Path fields, it will be replaced with the input of the field "Recipe Id" as soon as you download it.
The Recipe Id can be defined for each recipe individually.

The Recipe Id also auto-defines the Tag Name, as well as the Advancement File Name and the Recipe File Name

Since a normal Recipe Unlocker Data Pack would break this crafting method, you should use this one.

NBT-Crafting Generator

If you have questions or you discovered a bug, please write a comment below.

Create an account or sign in to comment.

Planet Minecraft


© 2010 - 2021