- Killed by a hostile mob.
- Fall damage.
- Fire damage.
- Suffocation in solid blocks.
- Killed by another player.
- Use of
- Falling out of the world (or void damage).
- Went off with a bang (killed by fireworks).
- Was squished too much (Having too many mobs in a single space)
- Crushed by Anvil.
- Withered away.
Upon death, different things may happen, dependent on gamerules and difficulty setting.
In survival mode, when the difficulty is set to peaceful, easy, normal or hard, a player will have the option to respawn when they die. A player will appear at their spawn point, which will either be the original area they appeared when they first entered the world, or beside the most recent bed they slept in (usually without anything in their inventory). In Hardcore Mode, however, there is no option to respawn. The only options are to either delete the entire Minecraft world, or to switch to Spectator Mode.
The only gamerule that affects death is "keepInventory". If enabled, a player will respawn with all of their inventory (Unless an item has the curse of vanishing enchantment). The alternative is having to run back to where they died to reclaim their items before they despawn.
In survival and adventure mode, one can die by any of the methods mentioned above. In Creative Mode and spectator mode, however, the user can only be killed either by the
/kill command or by exposure to the void.
A mob can die in any of the ways a player can die, with some exceptions. Whenever a mob dies, their skin flashes red for a brief moment, they fall over on their side, and vanish in a wisp of smoke as they despawn. They may leave behind some items and experience points on the ground where they died.
One exception to the typical death effect is when an Ender Dragon dies. When killed, it floats up slightly and breaks down into beams of light, creating an End Gateway, which may be used to escape the End.