Anvil

An Anvil is an upcoming block that is expected to be in 1.4. It will be used for the new item repair interface to repair and rename items. It is effected by gravity similarly to sand, gravel, and dragon eggs. It will deal proportional damage to mobs and players it lands on.

Usage
The main purpose of Anvils is repairing and renaming items. Unlike repairing items by combining them in a crafting area, anvils can both retain enchantments and expand on them. The player can also rename any item - not just tools or armor - using this method. This costs levels proportional to what is given. Simply renaming an item will cost 5 levels for a non-tool/armor item, whereas renaming and repairing an enchanted tool/armor is substantially more. As it is used, the anvil will become damaged. On its last use, taking the item will cause the GUI to close and anvil to disappear, dropping the item on the ground.

When an anvil lands on a transparent block (like torches, rails, etc.), it will destroy that item instead of dropping itself as an item like sand, gravel, and dragon eggs do. When dropped on a pressure plate, a boat, or cobwebs, the anvil will drop as an item. It will also inflict damage when dropped on players or mobs. Damage amount depends on fall altitude.


 * The amount of damage dealt is calculated by this equation:

Anvil Damage = (Fallen blocks - 2) * 1.5

A player dying by an anvil falling on them will receive this message: "Player was squashed by a falling anvil." Anvils have the same blast resistance as obsidian and the same hardness of a ore storage block with 0.5F, making this anvil block blast proof. Despite this, they can still be mined quickly with a pickaxe. Although the player is provided with three types of anvils depending on damage, they all share the same block ID. This only pertains to damage values.

Bugs

 * When an anvil falls, it does not retain its damage value, returning to its undamaged state upon settling.

Trivia

 * It takes a total of 55 iron ingots to craft an anvil.
 * The anvils secondary purpose to inflict damage by falling on a mob or player can be traced back to early cartoons, where anvils were used to harm others by landing on them.
 * Similarly to obsidian, pistons cannot be pushed or pulled by pistons.
 * Anvils are Tile Entities, because closing the GUI for it while an item exists inside it stores the item.