Started by
travisbrock
on
Topic category: Help with Minecraft modding (Java Edition)
so i made a effect and when i have the effect it gives regen 1 for 60 seconds but it won't heal me and when put it to 100 seconds it heals me like crazy
you probably swapped some values
I'm not sure but I think the duration might be in ticks btw (1 sec = 20 ticks)
i tried that did not work any other ideas?
Try to set Your Global Trigger to on Player tick update or entity tick update
and u can add:
If: has Event/Target entity has active potion (your effect)
do: add potion Regeneration with level : your choice (higer number then stronger effect) for Ticks: your choice (20 ticks = 1 sec)
Hope i Helped =)
it worked thanks so much