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

Started by eagle_skull14 on

Topic category: Help with Minecraft modding (Java Edition)

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!

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

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?