ctx.items.damage and player_death event moved to bworld

This commit is contained in:
2026-11-14 00:09:55 -03:00
parent 9bf6b98953
commit 6c6be61dd0
7 changed files with 34 additions and 14 deletions
+3 -3
View File
@@ -212,6 +212,6 @@ blowing them along does it every tick. Their client moves them, so it's sent the
## Death
When a player dies, everything they carried falls out where they died, and their tools lose durability (see
[Tools](../items/tools.md#durability)). They respawn at spawn right away with full health and hunger, and `player_death`
fires.
When a player dies, `player_death` fires while they're still where they died, then they respawn at spawn right away with
full health and hunger. The engine leaves what they carried alone: the base game's `player_death` handler drops it all
where they died, and their tools lose durability (see [Tools](../items/tools.md#durability)).