User:ManosSef/Sandbox/Real Minecraft Info/Damage types

Damage types are the different sources of damage in Minecraft. They are separated into three categories: damage from players/mobs, damage from the environment, and fall damage.

Damage from players/mobs
This damage can be caused by melee attacks or by projectiles shot by the players or mobs. Death messages always contain the variable, which indicates who has been killed, and the  variable, which indicates who killed the player. If the player or mob that killed the player was holding a renamed item, the death message also contains the variable, which shows the name of the item and has a hover event with the item tooltip.

Damage from the environment
This damage can be caused by being in a damaging block or by nature in general. Death messages always contain the variable, which indicates who has died. If a player or mob had caused damage to the dead player just before their death, the death message also contains the  variable, which indicates who or what attacked them.