How to stop healing while effect is active?

Started by Jacknug on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop healing while effect is active?

title says it all any method that works ill be happy about

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On player tick, if regen…
Thu, 04/07/2022 - 22:08

On player tick, if regen/saturation/(any healing over time buff) x = get amount healed by buff(you'll need to find this out yourself), deal x amount of damage. Or maybe use a nbt entity number tag set to 20, then every time the procedure is called, -1 from the NBT tag. When NBT tag reaches 0, set to 20, then damage entity?

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i found out a way
Sun, 04/10/2022 - 07:44

i found out a way

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if any one wants to know…
Sat, 05/14/2022 - 21:13

if any one wants to know just make a procedure with a heal trigger then do a If statement <Param> then cancel the event