Topic category: Help with modding (Java Edition)
Hello, im new to theese things! I need help with the Tool in Hand Tick trigger. I want to make sure that when the player holds the sword in the main hand, he receives the effect of health boost, regeneration and speed that last until he no longer holds the sword in the main hand. Pls help i tried with the if/do and with a preset procedure and it gives me the effects but even if i have more hearts, my health regenerate only the 10 basic hearts and if i have more than 10 hearts i take damage. I don't know how to do it.