Don't Starve Death Mechanics Modification
Death System Features
This mod completely redesigns death mechanics in Minecraft, adapting the famous system from Don't Starve. Now after death, your character turns into a ghost who is in spectator mode and has limited abilities. To continue playing, you'll need to find a way to resurrect.

Resurrection Methods
Florid Postern
When the world generates, you'll discover a special portal structure - the Florid Postern. To resurrect, simply pass through it in ghost form, however this method requires losing two points of maximum health.
The key element of the structure is the reinforced deepslate block in the center - if it gets destroyed, the Florid Postern will stop functioning. This possibility is intended for players who enjoy challenging experiences where constant respawning is unavailable.
Touch Stone
Throughout the world you can find special stone slabs surrounded by carved pumpkins. By interacting with such a stone, you'll attune to it (only one attunement can be active at a time). To resurrect in ghost form, simply look down and press the left mouse button. The Touch Stone gets destroyed after use but doesn't reduce maximum health.
Placement Commands
To create structures via console use:
/place template dsdm:florid_postern
/place template dsdm:touch_stone
Placement through structure blocks is also available.
Craftable Items
Meat Effigy

This item allows resurrection at a pre-established location. For crafting you'll need: 5 rabbit hides, 2 rotten flesh, an armor stand, and any log. Importantly, crafting requires 2.5 hearts of health - with insufficient levels, creation will be impossible.
Unlike the original game, switching attunement between effigies doesn't damage health.
Telltale Heart

In multiplayer mode, the ability to resurrect comrades appears. Ghost players emit particles, making them visible to others. Get close and aim at where the head should be, then use the Telltale Heart. The resurrected player will lose two hearts of maximum health.
For crafting you need: 3 units of grass and 1 fermented spider eye, plus 2.5 hearts of health. The recipe is shapeless.
Booster Shot

Resurrection through Florid Postern, Meat Effigy, or Telltale Heart reduces maximum health. To restore it, create a Booster Shot - this item returns two hearts of maximum health. Using it is impossible at full health.
For creation you'll need: 4 rotten flesh, 2 spider eyes, and 1 flint. No health is required for crafting.
Modified Totem of Undying Mechanics
The Totem of Undying has been reworked similarly to the Life Giving Amulet from Don't Starve Together.
When held in hand, it prevents death as usual. However, an additional possibility has appeared: if you're already dead and approach a dropped totem in ghost form, you can resurrect without losing maximum health.