1

Datapack recipe [solved] - crafting with a water bottle in 1.14

Dulciphi 5/28/19 6:29 am history
1k
5/28/2019 2:00 pm
Hi,

Hopefully someone can help. It's a simple question but I'm new to the whole namespace system.

I've added 2 new items to the game (flour and dough). I've made a recipe using flour and a water bucket to make dough and that works. I'd really like to make the same recipe using a water bottle as an ingredient instead of a bucket but that's where I'm stuck.

The recipe as it would work if "minecraft:water_bottle" was the right name.
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"Y"
],
"key": {
"X": {
"item": "foodstuffs:flour"
},
"Y": {
"item": "minecraft:water_bottle"
},
"result": {
"item": "foodstuffs:dough",
"count": 1
}
}
}

[edited to remove typo. Still need help, please]


I've tried a tag but I can't find an example of a tag with NBT data being used in a recipe. I found one used in a loot table and tried for days to adapt that but I'm just not getting it. I've also tried "minecraft:potion", which defaults to the Uncraftable Potion.

Is anyone able to help by giving a working example, please?

Solved: Mojang has not (yet?) added NBT to their recipe system in 1.14. Thankfully a Fabric mod has.
Posted by
Dulciphi
Level 1 : New Miner
2

  Have something to say?

JoinSign in

Welcome