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

Started by хомякъ on

Topic category: Help with Minecraft modding (Java Edition)

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.

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

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?

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

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