Mobs hurt themselves

Started by kasjda on

Topic category: Troubleshooting, bugs, and solutions

Active 4 years ago
Joined Apr 2019
Points:
686

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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
Active 4 years ago
Joined Sep 2019
Points:
989

User statistics:

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

Post de' code.

Active 10 months ago
Joined Jun 2019
Points:
2601

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
"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
Active 10 months ago
Joined Jun 2019
Points:
2601

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
"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
Active 4 years ago
Joined Apr 2019
Points:
686

User statistics:

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

And how do i fix this, because idk

Active 10 months ago
Joined Jun 2019
Points:
2601

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
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

Active 4 years ago
Joined Apr 2019
Points:
686

User statistics:

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

Thanks!