When you first load the world "/gamerule keepInventory" is set to true
After dying the player will take between 10%-20% damage to their armor and any tools they were holding in both hands.
Anything that is damageable will be given a durability tooltip

