Anvil

An Anvil is a block that uses the new item repair interface to repair, rename, and combine enchantments on items

Usage
Anvils can be used to repair and rename items and blocks, and can be dropped like sand.

Repairing and renaming
Unlike crafting to repair items, Anvils can use materials to repair or combine two items. 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. On each use, anvils have a 12% chance to be damaged. On its last use, the GUI will close and the anvil will disappear, dropping the item on the ground.

Falling anvils
If there is no block below an anvil, it will fall.

When an anvil lands on a non-solid 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, cobwebs, a slab, a sign, a cake, a lily pad, closed trapdoor or opened fence gate, the anvil will drop as an item. When dropped on a flower pot, the flower pot is destroyed without a drop. When dropped on a head, the head is dropped as an item.

A falling anvil will also damage mobs and players. Damage amount depends on fall distance: × MIN(Distance × 2, 10). If player is wearing any helmet, Damage = Damage × 0.55. A player dying by an anvil falling on them will receive this message: "player was squashed by a falling anvil." However if a player is touched by an anvil entity, or falling anvil, no damage will result until the anvil becomes a block in the gridspace where the player is. So anvils can be shot with a TNT Cannon, and pass right through a player, and not damage him/her.

An anvil has a chance to be damaged by the fall. Damage chance also depends on fall distance and is equal to (5 + Distance*5)%

Combining Enchantments
Due to the lack of a level cap in creative mode, it is now possible to combine any two (or more) enchantments on two items. Owing to the anvils ability to add two enchantments together to make a better version (like two sharpness 2 swords can be combined to a sharpness 3 sword), and the lack of a enchantment number cap (a knockback and looting sword can be combined with a fire and sharpness sword to make a knockback, looting, fire, and sharpness sword). Alone, each of these attributes is useful, but when combined together, it is possible (in creative) to make a Sharpness V, Fire Aspect II, Knockback II, Looting III Diamond Sword from a whole pile of lower enchantment tier diamond swords. (Ex: 16 Sharpness I swords, 4 Fire Aspect I swords, 4 Knockback I swords, and 8 Looting I swords can be combined into a sword with the enchantments listed above.

Bugs

 * Falling anvils can be pushed by pistons
 * No matter which direction an anvil was facing before it fell, it will default to a specific orientation while falling.
 * When digging with an anvil, the bottom of the top half is invisible. When it's placed, that visual bug is gone. Item frames also have a similar bug; placing an anvil will make the bottom of the top half invisible, as well as the bottom part.
 * Renamed Book & Quills are no longer functional after renaming.
 * When anvils are dropped on a bed, you can still sleep on it.

Trivia

 * It takes a total of 31 iron ingots to craft an anvil.
 * Similarly to obsidian, bedrock and End Portal Frames, anvils cannot be pushed or pulled by pistons.
 * Placing down a renamed placeable item will not retain the name if the item is picked back up again.
 * The anvil has the same blast resistance as obsidian and enchantment table.
 * Anvils being affected by physics may be a reference to classic cartoons, in which anvils were used in traps that usually backfired, causing the anvil to fall onto, and severely hurt, the antagonist.
 * It needs iron to be crafted, but looks much darker than iron, similarly to cauldrons and it looks more like stone.
 * If you rename a material, such as diamonds, it will become an item all its own.
 * An anvil will last about 25 uses.
 * Armor reduces amount of damage caused by falling anvil.