
DieYourWay
This mod provides the ability to create personalized player death messages using JSON files in datapacks. You will need to install Fabric Loader and Fabric API for the modification to work correctly.
How It Works
The system functions as follows: in data files, you define damage conditions and/or entity characteristics, and also add desired death message texts in JSON format. When a player dies, the chat automatically displays the generated message if all specified conditions match the damage source and the player themselves.
Thanks to this system, you can create unique and thematic death messages that will appear depending on the specific circumstances of the character's death.