How to make an effect that deals damage every 10 seconds but not kill entity? (like poison)

Started by Toibithieunang on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an effect that deals damage every 10 seconds but not kill entity? (like poison)

Any help would be appreciated.

Sorry for bad English.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is the simplest way to…
Mon, 07/18/2022 - 11:50

this is the simplest way to do this. if you want it to deal 3 damage, then change the number 0 to the damage you want -1.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm tried, but when a zombie…
Tue, 07/19/2022 - 01:30

I'm tried, but when a zombie hits me, The effect will wait 10 seconds and rapidly deal damage to me and I died from being killed by the effect.

Here is the proceduce:

Proceduce