How do I find out which player killed another player? Mcreator 2024.1, Minecraft 1.20.1

Started by хомякъ on

Topic category: Help with modding (Java Edition)

Last seen on 14:13, 31. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I find out which player killed another player? Mcreator 2024.1, Minecraft 1.20.1

I need to find out which player killed another player.

I did it like this:

But this doesn't work with players. Please tell me how to do this.

Last seen on 17:34, 31. Jul 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just make a procedure where…
Mon, 07/15/2024 - 13:50

Just make a procedure where you add aditional trigger for when entity dies and then check if event target and event source entity is player and then do what you want for either of them.

Here is the example:https://ctrl.vi/i/chAVo7hjI

Last seen on 14:13, 31. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Instead of Server player,…
Tue, 07/16/2024 - 04:29

Instead of Server player, you just need player?

Last seen on 17:34, 31. Jul 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes. Because from what I…
Wed, 07/17/2024 - 09:28

Yes. Because from what I understand mcreator is using their UUID to differentiate them

Last seen on 05:54, 3. Oct 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2024.1 is old version,…
Wed, 07/17/2024 - 10:33

2024.1 is old version, mcreator support 2024.2