Started by
Zaldune
on
Topic category: Help with Minecraft modding (Java Edition)
I thought I would come on here to see if anyone else knows how to do this because the way I've tried making Villagers trade potions doesn't seem to work.
I am using custom code as this isn't possible without it. Here's the section of custom code (it also has the imports imported, so it's not the fact that I don't have imports):
new PotionUtils.setPotion(new ItemStack(Items.POTION, Potions.STRONG_HEALING), 10, 5, 0.05f));
I'm not really sure what else to do here since I'm not extremely into Java coding and stuff.
So if anyone else knows and could help me out, I'd appreciate it.
create a custom item who give the potion effect when drinked and add this in villager trade