#Campfire Recipe Using Potions Outputs Uncraftable Potion

17 messages · Page 1 of 1 (latest)

plain crane
#

I am trying to get a Water Bottle to output a bottle of Purified Water (both technically potions) in a campfire recipe, but it's only outputting an uncraftable potion. What am I doing wrong in my code?

event.campfireCooking(Item.of('minecraft:potion','{Potion:"minecraft:purified_water"}').strongNBT(),Item.of('minecraft:potion','{Potion:"minecraft:water"}').strongNBT()).cookingTime(600).id('rpgcraft:purified_water_from_campfire')

As a side note, I am trying to overwrite a hardcoded recipe in the Dehydration mod, since I need to change the cooking time and give it a recipe ID (original recipe doesn't have one).

Is there anything wrong with the code, and if not, is what I am trying to do technically impossible since I'm trying to overwrite an ID-less hardcoded recipe? Thanks

fickle furnaceBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

bitter stream
#

campfire might not support NBTs

#

dunno :/

plain crane
#

I know that it does, because the original campfire recipe outputs a bottle of purified water.

bitter stream
#

remove .strongNBT() of the purified water

#

strong NBT is for Ingredients

#

this one is for ItemStack

plain crane
#

Okay

bitter stream
#

if still doesn't work, check kubejs issues, it have some NBT issues on Fabric

#

will be fixed soon

plain crane
#

Okay, checking real quick

#

Just tried it, it still outputs an uncraftable potion.

#

Where can I check kubejs issues?

bitter stream
plain crane
#

Thanks