How to make a custom death message with the player's name

Started by eagle_skull14 on Sat, 09/10/2022 - 17:33

Topic category: Help with modding (Java Edition)

Last seen on 22:48, 21. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a custom death message with the player's name
Sat, 09/10/2022 - 17:33

Hi! I am working on a mod, and have a death message called "death.attack.telepod" and the message being "was ripped apart at a molecular level." I need the players name to be at the front, like "eagle_skull14 was ripped apart at a molecular level." or "Dev was ripped apart at a molecular level." How do I do add the killed player's name? Thank you!