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

Started by eagle_skull14 on

Topic category: Help with modding (Java Edition)

Last seen on 20:19, 15. Mar 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a custom death message with the player's name

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!

Last seen on 21:37, 17. Feb 2024
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use %1$s to represent the…
Thu, 07/27/2023 - 14:02

use %1$s to represent the player

Last seen on 21:09, 22. Dec 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does it work with fabric?  
Mon, 11/27/2023 - 13:32

does it work with fabric?