Giving advancement when dying from specific damage type

Started by dfgqwertyuiop on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Giving advancement when dying from specific damage type

I have custom damage type and advancement.
How to give player advancement when he died from this damage source?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did I understand correctly?…
Thu, 12/28/2023 - 11:03

Did I understand correctly? In procedure with entity death event trigger checking damage source? Just didnt find something that I can do.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean, how to get damage…
Thu, 12/28/2023 - 11:10

I mean, how to get damage source by death event in procedure and then compare with mine?