We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

1440

NBT tags in custom recipes

86 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 15
    Registered User commented
    Comment actions Permalink

    Without nbt crafting, custom crafting can be considered as a cheat. I doubt it will be a thing in 1.13 though, but I hope it will come in future versions.

  • 23
    Registered User commented
    Comment actions Permalink

    I wish, you would just focuse on this in the next update. I don't understand too much of programming, the only language I can is the minecraft command language ;), but I think, it wouldn't even be too hard to implement. Just do it like it is done with the loot tables. You could add a function called set_nbt, just as in the loot tables and then just paste the custom nbt data of an item. It would make datapacks soooo much better to implement their "new" items, because you can legitimately craft them in a normal crafting table

  • 21
    Registered User commented
    Comment actions Permalink

    Strongly agreed. This was planned but didn't make it into 1.13. Important feature.

  • 15
    Registered User commented
    Comment actions Permalink

    Yes!

    Before 1.13 was updated,I had high expectations for custom recipe,

    but bugjump(mojang) hasn't added nbt in recipe

    Without NBT,what can a recipe do?

    Crafting a Trident by Prismarine Shard?

    maybe,but how can I Crafting a  dust(sugar) called "ore dust" by a ore?

  • 29
    Registered User commented
    Comment actions Permalink

    NBT in custom recipes would be an awesome addition! I have some data pack projects of my own that have hit a roadblock, because I couldn't get an easy way to give items with NBT to my players! Many other people have this problem too. NBT in crafting inputs looks really ambitious, but at the very least NBT in the output would be just amazing.

  • 7
    Registered User commented
    Comment actions Permalink

    NBT Would add functionality to increase custom recipe capabilities so much.  I just discovered myself that customizing fireworks is limited by this lack of feature. 

  • 5
    Registered User commented
    Comment actions Permalink

    Just saying, this was already confirmed to happen like the moment data packs could use recipes; but it's a lot to consider with showing the player what'll actually need to be consumed (for input), and needs quite a refactoring (for output and input)

  • 11
    Registered User commented
    Comment actions Permalink

    With new furnaces and workbenches we just need this... Imagine datapack where you can craft sushi or custom heads... :)

  • 6
    Registered User commented
    Comment actions Permalink

    We need this!

  • 7
    Registered User commented
    Comment actions Permalink

    I agree. I think it can be a "set_nbt" or "set_name" function just like in loot_tables.

  • 18
    Registered User commented
    Comment actions Permalink

    Hey, Mojang team. Add this feature, please. You're gave us opportunity to create custom crafts, but what recipe can we create? Usual Saddle? Usual Armor for horses? It so boring! Recently you add custom model tag for items, and now we can create new things. And if you add opportunity to use NBT in creating custom recipes, we'll can create new awesome items! New better pickaxes, axes; new magic gems! Amulets, staffs, and more and more! You must add this feature! Or we can use custom title for ingredients and result! For example, we have two diamonds, one of them is usual, but second is magic, and for create magic diamond sword, we must use only magic diamond that may be with custom title, enchanted and more other. If you add it in game, you'll opening a lot of opportunities for creativity! Add it, пожалуйста!

  • 3
    Registered User commented
    Comment actions Permalink

    No se mucho sobre los NBT, pero se que es muy genial para personalizar entidades, me gustaría aprender mas sobre ello :3

    Ojalá lo puedan añadir :D

  • 10
    Registered User commented
    Comment actions Permalink

    I honestly don't know why they haven't done this already. It's such a useful addition and they meant to do it earlier. There are methods around this such as giving a certain item like a knowledge book and replacing it with the wanted item, however there aren't many dummy items in game that don't have an actual purpose and can't be normally crafted in survival. And the few items that you can use might be interfering across multiple datapacks.

  • 4
    Registered User commented
    Comment actions Permalink

    Add this for bedrock edition too that be great!

  • 3
    Registered User commented
    Comment actions Permalink

    This would be made possible with the help of macros, without having to change the recipe format :)

    Macros also provide many more upsides, so I think that should be the main focus here, not this perse (because macros do so much more and will also enable you to have NBT tags inside custom recipes)

    But okey, maybe macros can also be combined with the addition of NBT tags inside custom recipes to make it easier to just add some NBT tags on the fly.

  • 8
    Registered User commented
    Comment actions Permalink

    This is now more wanted than ever because of the new CustomModel tag!

  • 10
    Registered User commented
    Comment actions Permalink

    The moment this is implemented, the floodgates open for new content that we can create. This combined with the CustomModel tag we already have with items means that the potential for new items becomes literally unlimited. The reason this wasn't already implemented is beyond me, but I'm so eagerly waiting the day it is implemented.

    Picture this, using the loottable, you give polarbears a leather drop but apply a custom model to it so that you can give it a unique, white leather texture. Then, using nbt crafting recognition, you recognise that the item is carrying a tag that identifies itself as not being ordinary leather in the leather armour crafting recipe. You create a new crafting recipe for leather armour and apply an NBT data output so that the armour is already white but also apply some Armour Toughness attribute to it as a little buff to compensate for the fact that Polar Bear leather is less obtainable than ordinary leather.

    This is 1 feature that becomes doable with this 1 tiny change, there are so many things that can be done with this.

  • 6
    Registered User commented
    Comment actions Permalink

    This is definitely needed, otherwise custom recipes are pretty much useless for adventure maps and datapacks that add new items.

  • 3
    Registered User commented
    Comment actions Permalink

    @Carlos Jimenez
    but isn't exactly that possible, through the CustomModelData tag ?

  • 5
    Registered User commented
    Comment actions Permalink

    Absolutely should be added! After playing Minecraft for 8 years and wanting to do bigger projects, ever since they added recipe files I wish this would work (especially now in 1.14.X).

    Great for custom data packs that have become so popular and maps for custom items.

  • 3
    Registered User commented
    Comment actions Permalink

    yes! this would be so good!

  • 4
    Registered User commented
    Comment actions Permalink

    I've created a collection of datapacks and added others' to my server as well, and there are some /trigger and some /function commands which I want my players to have access to.

    I created a custom book with NBT data to have clickable links which run the commands I want them to have access to, regardless of being OP or not. It works GREAT!!

    If the book is lost, they have to go to spawn and activate a command block to give @p a copy of the book. It would be so wonderful to make a custom crafting recipe such as a centered empty book in a 3x3 grid crafts into my Guide Book for them. Sadly, this requires NBT data. Can 1.15 add it as an experimental feature and see where it goes from there? Maybe with "require NBT match: true/false" for components, or an array of "any of these NBT setups will be called a match" including an entry flag for "none"

  • 3
    Registered User commented
    Comment actions Permalink

    This needs to be a feature, I cant even begin to understand why this isn't one to begin with. As a datapack creator, I'm tired of having to use work arounds like dispensers as crafting tables when there's a perfectly good solution in game, but it's just missing the final piece.

  • 8
    Registered User commented
    Comment actions Permalink

    This was "confirmed" but two versions later still not added? Come on Mojang, custom crafting is literally useless without the ability to modify the NBT. I'm tired of using /data get on droppers.

  • 11
    Registered User commented
    Comment actions Permalink

    Their failure to add this defeated the purpose of adding the feature in the first place.

  • 15
    Registered User commented
    Comment actions Permalink

    This feature is a must have.

     

    Without it, the only purpose of custom recipes is to make 'cheat' recipes.

  • 6
    Registered User commented
    Comment actions Permalink

    Absolutely yes, adding a simple place in the recipe form like nbt : { }, or tag would be perfect, which would let you specify what nbt data or tags the item has to have to satisfy the recipe, and the output can have the same group so you can craft pre-named/pre-enchanted/pre-tagged items, which allows custom crafting to finally be fully implemented into minecraft without commands to check for specific items which may interfere with other packs if they use the same trigger item (I've noticed knowllege books becoming common, which means they are not compatible with eachother nor does the recipe look like you're gonna craft anything other than a book. I hope it isn't too hard to implement, as it seems super useful when finished. 

  • 4
    Registered User commented
    Comment actions Permalink

    I'm actually really annoyed that this hasn't been added yet, despite it being first confirmed back in 1.13!

    This would really benefit map creators in making adventure maps by allowing "new" items to be added, and also would allow for thousands of new possibilities for vanilla Minecraft!

    Please add this in 1.16. This would be sooooo useful.

  • 8
    Registered User commented
    Comment actions Permalink

    Remember to also accept NBT in the recipe not only the output. This allows to further craft with custom items but only works, if some NBT can be made optional :)

  • 7
    Registered User commented
    Comment actions Permalink

    Yes! This would help datapack makers add custom foods as well. Great idea! I think we've all been waiting for this. Everybody, vote for this; we need it in the game!