Custom Sword effects

Started by DarkReaper_XX on

Topic category: Help with modding (Java Edition)

Last seen on 08:42, 24. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Sword effects
Wed, 03/24/2021 - 08:44 (edited)

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.

Edited by DarkReaper_XX on Wed, 03/24/2021 - 08:44
Last seen on 08:42, 24. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and if i have more than 10…
Tue, 03/23/2021 - 23:07

and if i have more than 10 hearts i take damage*