Mobs hurt themselves

Started by kasjda on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 22:23, 5. Nov 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mobs hurt themselves
Sat, 06/06/2020 - 22:51 (edited)

So I found out that in the newest MCreator update there's an issue. When I tried to make my mob give effects (poison for example) to the target on contact, instead it gives the effect to the attacking mob. It worked fine for the 1.14.4 version of my mod. Maybe I did something wrong. Btw the current mod is for 1.15.2 and here's the procedure:

procedure

Edited by kasjda on Sat, 06/06/2020 - 22:51
Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Post de' code.
Sun, 06/07/2020 - 00:36

Post de' code.

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"On collided with the player…
Sun, 06/07/2020 - 01:24
  • "On collided with the player" and "on right-clicked on living entity" triggers now have source and target entity swapped
Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"On collided with the player…
Sun, 06/07/2020 - 01:25
  • "On collided with the player" and "on right-clicked on living entity" triggers now have source and target entity swapped
Last seen on 22:23, 5. Nov 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And how do i fix this,…
Sun, 06/07/2020 - 13:20

And how do i fix this, because idk

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
switch the "event/target…
Sun, 06/07/2020 - 13:24

switch the "event/target entity part" with "source entity" from the "Minecraft Components" procedure tab

Last seen on 22:23, 5. Nov 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Sun, 06/07/2020 - 14:50

Thanks!