X

THANK YOU!

Post has been reported succesfully.

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

272

NBT tags in custom recipes

20 Comments

Post a new comment:

Please sign in to leave a comment.

  • Avatar
    CivetKitty commented

    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.

  • Avatar
    David Henze commented

    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

  • Avatar
    tryashtar commented

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

  • Avatar
    Weero2017 commented

    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?

  • Avatar
    Unbiunium commented

    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.

  • Avatar
    BreakingBen23 commented

    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. 

  • Avatar
    FVbico commented

    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)

  • Avatar

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

  • Avatar
    tintin10q commented

    We need this!

  • Avatar
    Hulunabc commented

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

  • Avatar
    TheZit445 commented

    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, пожалуйста!

  • Avatar
    Andiuber commented

    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

  • Avatar
    En _ commented

    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.

  • Avatar

    Add this for bedrock edition too that be great!

  • Avatar
    Pascal Anema commented

    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.

  • Avatar
    Fabian Kunze commented

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

  • Avatar
    The Kaividian commented

    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.

  • Avatar

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

  • Avatar

    I also feel you im making an adventure map and need a cross bow named AK-47, a iron sword named Swiss Army Knife, and they need to be enchanted also, and they need to come from the /give command because I already have the command block ready I just don't know what to put in it

  • Avatar
    Fabian Kunze commented

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