I was working on my first datapack and made a couple custom recipes. I wanted some new stuff in the game so I made some durability based textures and all that and I am able to spawn the item in with commands I just can't get the NBT data to apply to the recipe. When I try to craft it I get nothing, the recipe doesn't work while with my items without NBT data they work fine. How do I add NBT data to the result of a datapack crafting recipe in 1.13.1?
That's too bad, do you know if they are planning anything related to this in the future? Also, do you know of any tutorials on how to do the alternative to crafting where you throw items on the floor to make a new item?
That's too bad, do you know if they are planning anything related to this in the future? Also, do you know of any tutorials on how to do the alternative to crafting where you throw items on the floor to make a new item?
I believe they are planning to add NBT Data. And you mean floor crafting?
Do not use custom crafting, it sucks. Floor crafting also has some issues. The best way to create custom recipes is to use droppers. Detect when an item is thrown at the dropper and turn it into a workbench. Just rename it and summon an invisible armor stand at it's position. If you want it to look differently, equip that armor stand with item with custom model and texture. Now that armor stand can run commands to chech if specific items are in specific slots and if they match your recipe, it can run command to replace dropper content with a product you wish. This allows for NBT detection and manipulation and looks much better then floor crafting.
And if it is obtimized, like the one i made for personal use, it only takes 1 command to add each recipie and if you really want to it can support multiple items in one slot. Ex you could make a recipie to craft 1 diamond by putting 20 coal blocks inbetween 2 pistons
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was working on my first datapack and made a couple custom recipes. I wanted some new stuff in the game so I made some durability based textures and all that and I am able to spawn the item in with commands I just can't get the NBT data to apply to the recipe. When I try to craft it I get nothing, the recipe doesn't work while with my items without NBT data they work fine. How do I add NBT data to the result of a datapack crafting recipe in 1.13.1?
You technically can't at the moment. I'm not exactly sure how people made a way around it.
==CowsDaBest's Bug Tracker==
https://docs.google.com/forms/d/e/1FAIpQLScxWobU0_WGPqSTbkBr_jbSo6rSA7qRiqgK0jiN9Go_PlvOBQ/viewform
==Links==
Website- https://cowsdabest.wixsite.com/cowsdabest-resources
Seconds Channel- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
Instagram- https://www.instagram.com/cowsdabest_yt/?hl=en
Twitter- https://twitter.com/cowsdabestyt
Discord- https://discord.gg/T9vC6Tc
==Disclaimer!==
All Commands, Tutorials, Custom Maps, And Such Are Owned By CowsDaBest. Do Not Claim It As Your Own. If Showcasing, Leave This Message In The Description!
(https://drive.google.com/open?id=1iYwAqcj58gmNnsNyLixQP5V8krW7oODE)
That's too bad, do you know if they are planning anything related to this in the future? Also, do you know of any tutorials on how to do the alternative to crafting where you throw items on the floor to make a new item?
I believe they are planning to add NBT Data. And you mean floor crafting?
==CowsDaBest's Bug Tracker==
https://docs.google.com/forms/d/e/1FAIpQLScxWobU0_WGPqSTbkBr_jbSo6rSA7qRiqgK0jiN9Go_PlvOBQ/viewform
==Links==
Website- https://cowsdabest.wixsite.com/cowsdabest-resources
Seconds Channel- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
Instagram- https://www.instagram.com/cowsdabest_yt/?hl=en
Twitter- https://twitter.com/cowsdabestyt
Discord- https://discord.gg/T9vC6Tc
==Disclaimer!==
All Commands, Tutorials, Custom Maps, And Such Are Owned By CowsDaBest. Do Not Claim It As Your Own. If Showcasing, Leave This Message In The Description!
(https://drive.google.com/open?id=1iYwAqcj58gmNnsNyLixQP5V8krW7oODE)
Do not use custom crafting, it sucks. Floor crafting also has some issues. The best way to create custom recipes is to use droppers. Detect when an item is thrown at the dropper and turn it into a workbench. Just rename it and summon an invisible armor stand at it's position. If you want it to look differently, equip that armor stand with item with custom model and texture. Now that armor stand can run commands to chech if specific items are in specific slots and if they match your recipe, it can run command to replace dropper content with a product you wish. This allows for NBT detection and manipulation and looks much better then floor crafting.
And if it is obtimized, like the one i made for personal use, it only takes 1 command to add each recipie and if you really want to it can support multiple items in one slot. Ex you could make a recipie to craft 1 diamond by putting 20 coal blocks inbetween 2 pistons