Since the newest update, mobs damage themselves and give potion effects to themselves

Started by Aksumite on Fri, 05/29/2020 - 20:48

Topic category: Help with modding (Java Edition)

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Since the newest update, mobs damage themselves and give potion effects to themselves
Fri, 05/29/2020 - 20:48

I am making a mob and using the "when player collides with this entity" procedure event. Instead of giving the effect and damaging the player, it damages the mob that is supposed to be giving the effect and damage.

How do you fix this? Thanks!

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need to choose the right…
Sat, 05/30/2020 - 13:06

You need to choose the right target, the Source Entity, or the Event/Target Entity. In 2020.3 you need to do that in order to have more complex procedures in general. 

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do you choose the right…
Sat, 05/30/2020 - 23:37

How do you choose the right target? Or do you mean put the procedure on the player instead?

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In the Minecraft Components…
Sat, 05/30/2020 - 23:50

In the Minecraft Components section, there is a source entity block, and a event/target entity block. Choose the one that is not already in your procedure. (Please include a picture of your procedure so I can help better)

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ah I see, I just wasn't sure…
Sun, 05/31/2020 - 00:43

Ah I see, I just wasn't sure where to find that block. All the procedure had was a "damage entity block". Thanks :D