How to make a player receive an effect after hitting a mob

Started by ShiroFliro on

Topic category: Help with MCreator software

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a player receive an effect after hitting a mob

been trying to make that work for some time but kinda nothing is working, i dont know if its possible cuz im kinda new to the software

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you have to make a…
Mon, 02/07/2022 - 20:45

I think you have to make a procedure and call an additional trigger "Entity attacked" and you put [Add potion effect with level (LEVEL) for (NUMBER OF TICKS (20ticks = 1sec) ) to (SOURCE ENTITY) type (EFFECT)]

I hope you understood and you will find a way out of your problem ! ^^

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much it worked!…
Wed, 02/09/2022 - 19:27

Thank you so much it worked!