Custom death message when killed by custom mob

Started by DiddeyKong on

Topic category: Help with modding (Java Edition)

Last seen on 02:11, 8. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom death message when killed by custom mob

I'm making a rat mob and I want the death message to be something like "(player name) was nibbled to death by rat" but currently it just shows "(player name) was slain by rat" I am aware that custom damage types exist but I don't think I can apply that to my custom entity's damage. Anybody know how to do this?