When Player attacks custom mob, Player gets certain potion effects

Started by Smakced on

Topic category: Feature requests and ideas for MCreator

Last seen on 02:05, 30. May 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When Player attacks custom mob, Player gets certain potion effects

I'd like a feature that makes it so when the player attacks your custom mob, you can have certain potion effects be applied to the player for a certain duration.

Last seen on 02:05, 30. May 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok. Thanks for letting me…
Tue, 10/22/2019 - 04:05

Ok. Thanks for letting me know

Last seen on 02:03, 20. Feb 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could probably find some…
Tue, 10/29/2019 - 15:13

You could probably find some way to do it using the "When Entity Is Hurt" procedure so it applies potion effects to whatever attacked it

Last seen on 02:05, 30. May 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’ve already tried this the…
Tue, 10/29/2019 - 15:15

I’ve already tried this the effects only get applied the mob not the player. Like the developer Klemen said we need to wait until they fix the ticket.

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have created a mob in the …
Fri, 09/02/2022 - 18:56

I have created a mob in the "when entity is hurt" section and I put the "add potion", only I change the event/target entity for a source entity.
Also, because of how my mob works, I also put the "add potion" in "when player collides with this entity". I hope it helps you even if it's a year late :v