Custom death message when killed by custom mob

Started by _Raven26 on

Topic category: Help with Minecraft modding (Java Edition)

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?