Jump to content

Recommended Posts

Posted

I have a problem with my crafting recipe. I want to make a crafting recipe with a healing potion but there is no item for any potion. Can someone please send me a template for a crafting recipe with a potion?

Thanks

Posted (edited)

you need to set the potion via NBT data, i would recommend to use Data generation for it
you can set the Potion of an ItemStack with PotionUtils.setPotion

Note you need to use StrictNBTIngredient instead of the vanilla Ingredient, since the vanilla Ingredient does not check the tag (nbt) data

Edited by Luis_ST
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.