Topic category: Help with modding (Java Edition)
I try to make a sword with potion effect. I created a "key bind" with "add potion effect even" in the condition of "itemInPlayersHand == mysword". When I hold the sword and press specific buttion it give me potion effect. I found the potion effects it given to me only have iron and show remain time but dont have any actual effect (such as Regeneration II do not recover my health). I also used "special feature" to check my sword, but it have same result.Is anyone could help me deal with this situation?
I am sorry for my English . I am not English speaker.