Health

The health and damage system in Minecraft is based on a simple heart system. Each (full) heart contains two halves.

All player characters and most hostile Mobs have 10 hearts at full health. Pigs, Sheep, Cows, Ghasts, and Squid all have five hearts, whilst Chickens have two. A wild Wolf has four hearts, while a tamed Wolf has ten hearts. The amount of hearts for Slimes depends on its size, ranging from sixteen to only one half heart.

Damage from attacks or natural causes will subtract hearts from this total. When the total reaches zero, you die. When a mob dies, it drops Items specific to that mob. Players will drop all their items when they die.

Armor will absorb damage and reduce the number of hearts subtracted from your character's health.

Minecraft Creative
On creative, there is no health, making you invincible. Mobs can spawn but they can't hurt you.

Hearts
Hearts make up the health meter for the player and mobs in the Survival modes. Each heart represents one hit point, for a total of 10 hit points. Hit points are lost in multiples of 0.5.

Hearts can be lost by taking fall damage, getting tackled by an enemy Mob, getting shot with an arrow, being on fire, standing in lava or beside a cactus, drowning underwater, suffocating inside a block, falling into the void, or getting caught in an explosion. When the meter has 2 or less hearts left, it will begin to shake, attempting to notify the player that they need to restore their health.

Hearts can be regained by eating food items. Raw Porkchop, Cooked Porkchop, Red Apples, Mushroom Stew, Bread, Golden Apples, Cake, Cookies, Raw Fish and Cooked Fish can all be used to restore health. On Peaceful difficulty, the heart meter will refill over time. As of 1.8, health is not restored by consuming food, but rather slowly regenerates when the player's "Food Bar" is full.

Damage is split between the Hearts and Armor bars.

Dealing Damage
Players can do damage by hitting mobs or each other with items at close (melee) range. The large majority of items only do 1 heart of damage, like bare fists, although Weapons can be crafted for the express purpose of dealing more. Swords are the main and simplest item to use and make. They still require melee range, but deal significantly more damage per hit. Axes, Picks, and Shovels also do more damage than bare fists, as detailed on the Weapons page.

Arrows (shot using right click with a Bow) are the only ranged weapon in the game.

Flint and Steel allows the player to light a block on Fire, which causes all players and mobs that walk over that block to be set alight. Players and mobs that are ignited stay alight for 15 hits or until they touch water. Likewise, contact with Lava (say poured from a Bucket) also catches enemies on fire.

Lastly, TNT is currently the only explosive weapon in Minecraft and is obtained by crafting sand and gunpowder (gunpowder is dropped from Ghasts and Creepers) together.

The below values detail the damage dealt per hit using various items.

*The damage will decrease the further it is away from the core of the explosion.

Note that using items that aren't intended for combat as melee weapons will decrease their durability by two uses each time they deal damage.

Damage Inflicted by Mobs
Unlike player character's damage, the damage Mobs deal out is affected by the difficulty the player is on. The below values represent the amount of hearts taken per hit.
 * Values for the Creeper assume the creeper is directly adjacent to the player.
 * The damage Slimes can do depends on their size.
 * Tiny-sized Slimes, while hostile, are unable to do damage.

Knockback
When receiving damage from a hostile mob you will also be knocked back. The resulting disorientation and loss of control should not be underestimated, as it is possible to be knocked back over a cliff or into lava, both of which are potentially fatal.

Players can also be nudged by neutral mobs walking into them. The push is not nearly as powerful as a hostile mob's knockback, but can still send the player off of a cliff or into lava. Knockback can also be caused when a player throws an Egg or a Snowball at a mob, useful for making traps.

Natural Damage
Besides mobs, players can take damage from several other events in Minecraft.

Fall Damage
In Beta, (and the obsolete versions of the game) you receive damage when falling from certain heights. The amount of damage received depends on the total height of a drop, and it is possible for a player to die upon falling to the ground.

Fall damage can be calculated using this formula:

FD = (number of blocks - 3) / 2

In other words, falling 4 blocks (unarmored) causes half a heart of damage. From 5 blocks, one heart of damage. From 6 blocks, one and one half hearts are lost and so forth.

Mobs (other than chickens and ghasts) suffer fall damage as well.

In some cases, it is possible to avoid falling or otherwise survive a fall. Falling damage is only dealt after a height of three blocks. Falls equal to or larger than 23 blocks result in certain death under normal circumstances ((23 - 3) x ½ = 10).


 * Sneaking (default LSHIFT) will prevent you from falling off most blocks.
 * Having some amount of Armor may save your life from otherwise fatal falls.
 * Landing in Water will reduce fall damage. Depending on the height of the fall, it needs up to 3 blocks of water to reliably nullify the fall damage; however, even 1 or 2 blocks may sometimes do so.
 * Moving into a Ladder's area of effect during freefall will reduce vertical velocity to normal ladder descent speed and no damage will be taken. Care must be taken to avoid landing on the narrow top surface of the ladder.
 * Moving into water during freefall will also reduce velocity.
 * Move passive Mobs away to avoid an unpleasant push to your death.
 * Previous to 1.6, Riding in a Minecart, Boat or on a Pig will allow you to leave the scene unhurt. 1.6-on results in the same damage as you would falling. Also, if you fall while in a Minecart, water makes no effect on falling speed or damage. You will fall through as if nothing is there.
 * You might not sustain any fall damage while you're on Fire.
 * Jumping counts as falling for 1½ blocks, so keep this in mind when trying to avoid fall damage.
 * Do not dig directly downwards without knowing what is underneath. Empty caverns are randomly placed around the world, and it's quite possible to fall into them (perhaps from a great height, or even onto a Dungeon or Lava!).
 * Don't attempt to jump gaps across long drops. Instead, sneak to the edge of your current platform, and you will be able to place a block beside it; in this way, bridges can be constructed safely.
 * With good timing, you can place a block on the ground under you while falling. This will only reduce damage by a little, but will come in handy if you need to fall 4 blocks, as it will prevent all damage. If a vertical surface is available, a block can be placed on that as well with practice.

Drowning
Once your air runs out underwater, you will take approximately 1 heart damage/sec. This does not commonly happen to mobs because they automatically float upwards.

While mining, consider keeping at least one placeable solid block ready somewhere on your toolbar (such as Dirt or Cobblestone) for quick access using your mousewheel. If you mine into a spring (or worse, the ocean), you should be able to place the block in the hole to prevent drowning.

If you place a torch on a vertical surface next to you at head height whilst underwater, you create an air bubble which lasts for the split second it takes the water to destroy the torch, thus refilling your oxygen meter without resurfacing. Ladders, signs, trapdoors and doors can create permanent air bubbles underwater. You can also scoop up some water with a bucket to achieve the same effect, or destroy the block directly above you, if there is one.

Suffocation
Suffocation is when a player or a mob is unable to breathe due to his upper half being inside of a block. They will lose half a heart every 0.5 seconds. Due to sand and gravel falling, it can easily cover the player. In first person mode, the player's screen will be blackened when suffering from this condition thus disabling them to see what is happening. In third person mode, the view will automatically switch to first person mode. As of the Beta 1.6 update, however, when a player's upper half is covered, the player is moved to the nearest empty space to stop them from suffocating.

When inside a block, the player can easily step out of it as the blocks do not block their movement.

The usual ways to get one's head inside a block are:


 * Sand or Gravel falling into the space the player or mob occupies.
 * Riding a Boat or Minecart into a one-block-high space.
 * Riding a pig into a two- or one-block-high space.
 * Standing where a tree just grew from a sapling.
 * If you save near bedrock, and then reload, its possible that you spawn inside the bedrock, killing you since you can't move or dig the bedrock out.

It's worth noting that the player will not suffocate in glass, or indeed in any transparent block. Leaves from a grown Sapling will not suffocate you, even if you're on Fast.

History
In Indev before suffocation was implemented, players that were covered by blocks could see through dirt and stone. Suffocation was added after Notch discovered that players were abusing this exploit to find underground caves and hollowed carvings. The patch added suffocation damage and making the player unable to see anything when experiencing it. However, this glitch is not completely fixed and is still possible to be done even in the existing version of the game.

Patches

 * After the July 9th update, players no longer suffocate when riding in a minecart.
 * After the November 10th update (Alpha 1.2.2) players no longer suffocate when they get out of the minecart while inside a two-block-high tunnel. The same applies when disembarking a boat. This does not apply to multiplayer, you will still suffocate when leaving said minecart/boat.
 * After the April 20th update (Beta 1.5) unarmed damage was increased from half a heart to 1 heart.

Glitches
Although the screen is blackened in first person mode, players can still see through gravel or sand blocks to locate caves using third person by adjusting the camera angle correctly.

Now The Void can be seen and caverns can be easily located. It is more beneficial to do this during the day because The Void will emit light and caves will be more visible against it. This glitch is best performed on Peaceful Difficulty so that the health that you lose from the suffocation can be regained.

It is also possible to use this glitch without getting suffocation damage in first person mode, however. This is done by backing out of the blocks just enough that the character is still technically in the blocks but not enough to be suffocating. Then move slowly toward the blocks until the near clipping plane of the view is inside the gravel or sand. Sneaking works rather well here.

It is possible to suffocate while on fire. To do this, place a floating bed over a 1X2 hole. At night, while falling asleep, break the bed and fall into the hole. This will cause everything touched that is higher than the player to cause suffocation. A flint and steel can then be used to set the player alight, which when combined with the suffocation effect of touching higher blocks causes the player to see two rectangular holes instead of the usual black screen. It is unknown if wearing a pumpkin changes this effect.

Cacti
Touching Cacti will cause a player/mob to take a ½ heart damage, and rapidly continue taking damage if they continue to stand next to/on it.

Lava
By far the most dangerous natural occurrence, players and mobs will take damage from contact with Lava extremely fast (5 points per hit), and stay on fire even if they exit it (½ a point per hit for 15 hits or until extinguished with water). If players do not have a water source available they will die quickly.

While mining, consider keeping at least one placeable solid block ready somewhere on your toolbar (such as Dirt or Cobblestone) for quick access using your mousewheel. If you mine into a lava pool, you may be able to place the brick in the hole and so prevent burning.

Poison
In the pre-release version of Beta 1.8, Cave Spiders will inflict poison status to the player. While poisoned, the hearts turn from red to an olive green and continually damages the player by 1 heart a second until the poison wears off. The poison itself cannot kill the player, but it can leave them open to attacks from other mobs or damage from the environment, possibly killing the player quickly.

Damage Immunity
After sustaining damage from any source, a Mob will turn red in color for a short period of time. During this period, any other incoming damage will not be counted against the mob's total health. For instance, if you attack a mob with a Bow without letting go of the mouse button, the bow's rate of fire will exceed the mob's allowable rate of incoming damage, and several of the shots will not damage the mob even if they land. Arrows that don't deal damage to a mob are reflected off of it onto the ground, and possibly, from a close range, back at the player (resulting in damage). However, if a mob or player is recovering from damage and then receives higher damage, it gets counted. Players are also subject to damage immunity.

Armor
Armor is a craftable item in Minecraft's survival mode and survival mode multiplayer that reduces damage to the player while also decreasing the armor's durability. Armor can currently be crafted out of Diamond, Iron, Gold, and Leather.


 * Zombies and Skeletons would occasionally wear armor in survival test. This armor, however, did not alter any of their stats, and was purely superficial.
 * Chainmail armor is also craftable, but only by using fire blocks, which cannot be obtained without hacking.

Death
Death occurs when all of a player's hearts are depleted. A "Game Over" screen will appear, and the player has the option to respawn at the spawn point(either the last bed the player slept in or their default spawn point) or return to the title Menu. Any items and/or blocks that were in the player's inventory are dropped from their head and scattered around the spot where the player died. If they come in contact with dangerous blocks - like lava, fire or cactus blocks - they will be destroyed. Otherwise, according to Notch, "they decay after five minutes, except if the chunk is unloaded, in which case they last forever".

Trivia

 * A bucket of lava is arguably the most efficient weapon in the game, as it doesn't use up durability, does very fast damage, and slows enemies in their tracks. The only downside is that a large amount of the time the mob's dropped loot will be disintegrated in the lava. It may also cause nearby trees or wooden buildings to catch fire, possibly even starting vast fires.
 * Notch drops an Apple upon his death.
 * Earlier in Survival mode, eating a Red Mushroom would deal the player 1.5 hearts of damage because they were poisonous.
 * Slabs and Glass will not cause suffocation. As a result, placing a slab above a minecart track can be used to make a barrier through which carts can be ridden without allowing mobs (other than 1 block high chickens, tiny Slimes, cave spiders and wolves) to wander in.
 * Prior to the Minecraft Beta 1.5 patch, fist damage would deal 1/2 hearts of damage (chickens needing to be hit 4 times), however it was increased by 1/2 a heart of damage in the update.
 * Players deal less damage when jumping (gaining altitude), but this penalty does not apply while falling.
 * On death, in first person, your right hand changes to the 'char.png' inside Minecraft.