prob with health boost

Started by niconacho2020 on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
prob with health boost

soo im making a mod where when u hold the sword you get health boost effect, but the thing is when i test it whenever i start to go into the health effect il take damage. im not sure if i explained that very good, but if u didnt understand whenever i heal past the normal 10 hearts i start taking damage so i never go above ten hearts. PLSSSS HELP 

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try  If: get item from…
Fri, 03/24/2023 - 14:33

Try 

If: get item from provided itemstack: (custom_sword)

Do: 'apply potion effect minecraft:health_boost lvl (number of hearts here) for 2 ticks' to event target entity.

If that doesn't work, I can try and give a screenshot.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, a little update: turns…
Fri, 03/24/2023 - 14:40

Okay, a little update: turns out the closest I can make it is when the item is in your inventory, but a little tweaking might fix that.

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ive just checked this, but…
Sun, 03/26/2023 - 23:59

ive just checked this, but the image isnt working so if you could try to resend it or make a link that would be nice

 

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so what ive done is make a…
Mon, 03/27/2023 - 00:00

so what ive done is make a trigger that is when the item is being held...

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but the effect is being…
Mon, 03/27/2023 - 00:04

but the effect is being added, just whenever i heal past the normal ten hearts i take damage until im down to ten 

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then try Absorbtion?
Mon, 03/27/2023 - 12:28

Then try Absorbtion?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thats actually a good idea,…
Mon, 03/27/2023 - 16:24

thats actually a good idea, but that basically makes me invincible, cuz it is aplying the affect every tick

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think this is an isseu to…
Mon, 03/27/2023 - 16:25

i think this is an isseu to go in the bug tracker, il have to check if its a minercfat bug or an mcreator bug

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok ive tested it, its only…
Mon, 03/27/2023 - 16:26

ok ive tested it, its only when the sword gives the effect, so ima put it in the bug tracker