Namespaces

Variants

Share

Share
Views
Actions

Anvil

From Minecraft Wiki
Jump to: navigation, search
[edit]Anvil
Anvil.png
AnvilSlightly Damaged AnvilVery Damaged Anvil
Type

Solid Block

Requirements

?

Physics

Yes

Transparency

Yes

Luminance

No

Blast resistance

6,000

Hardness

5

Tool

A wooden pickaxe or better is required to mine this block

Renewable

Yes

Stackable

Yes (64), same damage state only

Flammable

No

First appearance

1.4.2 (12w41a)

Drops

Itself

Data value

dec: 145 hex: 91 bin: 10010001

Name

anvil

Anvils are blocks that use the item repair interface to repair and rename items, and combine enchantments. Anvils use a complex experience and material cost system, which checks for how tools are positioned, and how many times they are repaired. For full details, see anvil mechanics.

Contents

[edit] Crafting

Ingredients Crafting recipe

Block of Iron +
Iron Ingot

Block of Iron Block of Iron Block of Iron Grid layout Arrow (small).png Anvil

Iron Ingot
Iron Ingot Iron Ingot Iron Ingot

[edit] Usage

Anvils can be used to repair tools and armor, enchant items with enchanted books, and rename items and blocks. All of their functions cost experience levels (earned by performing certain actions), and material costs.

Anvils are damaged by using it for repairing (also by falling, see below) and will eventually be destroyed by such use. With each normal use anvils have a 12% chance of being damaged. The first two times an anvil is damaged, its texture will change, and (if picked up) its tool tip will identify it as "slightly damaged" the first time, or "very damaged" the second. If a "very damaged" anvil is again damaged, it will disappear. If it was being used, the GUI will close and the forged item will be dropped on the ground as the anvil disappears. On average, an anvil will survive for 24 uses; pro-rating the 31 iron ingots used to make it, gives an average cost of 1.292 iron ingots per use.

Anvils are affected by gravity similar to sand, gravel, and dragon eggs: If the block under them is removed, or if they are placed atop air, they will fall. A placed anvil cannot be pushed or pulled by pistons, but a falling anvil (one in entity form) can. Falling anvils can do considerable amounts of damage to mobs or players, so they can be used in traps. An anvil has a chance to be damaged by the fall, equal to (5 + distance×5)%.

[edit] Repairing and renaming

Anvils have two modes to repair items with durability:

  • A player can combine two items similar to the crafting grid, but the target will keep its enchantments, and may gain new ones from the sacrificed item.
  • Or a player can use materials respective to the item (iron ingots for iron items with durability, diamonds for diamond items with durability). One material can only repair 25% of the target's maximum durability.

In addition, the player can rename any item - not just items with durability - using an anvil. Renaming an item removes the penalty paid for repairing the same item multiple times in versions prior to Official Release 1.8.

[edit] How to repair

See also: Repair
Example showing a repair of two diamond pickaxes.

Place the target item on the left slot. On the right, place either a matching item (the sacrifice), or one or more pieces of the item's raw material. The anvil will then tell you how many levels this repair will cost. Also, the result slot will show the item as it would be when repaired, including tooltips showing its enchantments and in F3+H mode, its durability. To actually repair, remove the result item from the result slot and put it in your inventory, or throw it on the ground. (Naturally, you can't do this unless you have enough levels, or are in creative mode.) Both input items will vanish when you take the result item.

Repairing with materials works for the most part, but not with all items: As a rule of thumb, it works for items with their material in the default name, like iron pickaxe, so it can be done with swords, pickaxes, armor, etc., but not with bows and shears. As a special case, chain armor can be repaired with iron ingots. The repair does not need to be complete; one material will only repair 25% of the item's maximum durability.

Repairing with a matching item works for any item with durability including bows, shears and so on. The items must match in type; you cannot combine a golden pickaxe with an iron one. When sacrificing an item for repair, the sacrifice's remaining durability will be added to the target, along with a bonus of 12%.

Note that in both cases the resulting durability will be limited to the item's maximum, and there is no discount for "over-repair": You pay levels per unit of material used, or according to the sacrifice's durability, regardless of the resulting durability, even if it would exceed 100%.

As a subset of repairing one item with another, the anvil can transfer enchantments from the sacrifice to the target. Two sharpness II swords can be combined to make a sharpness III sword, or a pickaxe with efficiency can be combined with one that has unbreaking. This can produce enchantments and combinations that could not be made by using an enchanting table. But even so, some enchantments cannot be combined if it is similar, or contradicting, in context of what it does (such as sharpness and smite, protection and projectile protection, and fortune and silk touch). If the target is damaged, you will pay for the repair as well as the transfer.

Work on items with expensive materials (like diamond), or high-level enchantments is more expensive. Transferring enchantments can add even more cost, and renaming an item has an additional surcharge. To boot, repeatedly repairing an item gives a cumulative penalty (which can be avoided by renaming the item). Unfortunately the anvil has a limit of 39 levels, beyond which it will refuse to repair altogether. This limit is not present in creative mode. In some cases it may be possible to do things piece-wise (rename, repair, then transfer enchantments) but some heavily-enchanted items may just be too expensive to work with. For full details of the anvil's costs and restrictions, see the Anvil mechanics page.

[edit] Renaming

Any item or stack of items can be renamed at a cost of seven levels if the item has durability, and five levels otherwise. Enchanted items will cost more, according to the number of enchantments and their tiers. Renamed tools and renamed mobs from renamed spawn eggs will show in death messages. Renamed mobs will show their name when your cursor is on them. Renamed command blocks will use their name instead of "[@]". This feature is also used, in two different ways, to produce a named monster: Firstly, it is the only way to assign the desired name for a name tag. Secondly, if a spawn egg is available (from creative mode or provided from an adventure map), any name given to the spawn egg will be kept by the mob it produces. If a renamed block is placed on the ground (or anywhere in the world), and then mined, it will lose its given name and will go back to its original one. The maximum length for renaming is 30 characters.

[edit] Enchanted books

Enchanted books themselves can be combined to create higher tiered books. Which are used as stated below.

Enchanted books are used to enchant an item with an anvil, with the book acting as the sacrifice. The regular enchanting rules still apply, but with significant discount to the cost. In creative mode any item can be enchanted this way (for example: even a silk touch stick), but even then, incompatible enchantments will not be combined.

[edit] Falling anvils

[edit]Falling Anvil
Anvil.png
First appearance

12w41a

Network ID

?

Savegame ID

FallingSand

When there are air blocks below anvils, they will fall. Anvils will make a metallic clanging sound when they land.

When anvils land on a non-solid block, they destroy the non-solid block rather than dropping as an item, unlike Gravel or Sand. When an anvil is dropped on pressure plates, boats, cobwebs, slabs, signs, cakes, lily pads, opened fence gates, or closed trapdoors that do not have a block beneath them, the anvil will drop itself as an item. When dropped on a mob head, the mob head will become the item form.

Falling anvils, when they fall on a player or mob, will damage them. Damage amount depends on fall distance: (DistanceBlock>PlayersHead=Hitpoint) IE If an Anvil is dropped 1 block above the players head, then one hit point will be inflicted. If an Anvil is dropped 20 blocks above the players head, then 20 hit points will be dealt, killing a no armored player. Wearing a helmet will reduce the damage by 45%, but this costs durability on said helmet. When a player dies by an anvil falling on them, the chat will display this message: "Player was squashed by a falling anvil." However if a player is merely touched by an anvil entity, or falling anvil, no damage will result until the falling anvil becomes a solid anvil-block in the airspace where the player is located. Falling anvils can be manipulated by TNT cannons, and will pass right through a mob or player, and will not damage them. In addition, if the player jumps at the correct time, the player will not be in the airspace where the anvil is, negating player damage; however, this is extremely difficult.

To summon one, use: /summon FallingSand ~2 ~5 ~ {Time:1,TileID:145}

or /setblock ~2 ~5 ~ 145

[edit] Data Values

Item

DV Description

0 Anvil

1 Slightly Damaged Anvil

2 Very Damaged Anvil

Block

DV Description

0 Anvil (North/South)

1 Anvil (East/West)

2 Anvil (South/North)

3 Anvil (West/East)

4 Slightly Damaged Anvil (North/South)

5 Slightly Damaged Anvil (East/West)

6 Slightly Damaged Anvil (West/East)

7 Slightly Damaged Anvil (South/North)

8 Very Damaged Anvil (North/South)

9 Very Damaged Anvil (East/West)

10 Very Damaged Anvil (West/East)

11 Very Damaged Anvil (South/North)

[edit] Video

[edit] History

Official release
7th October, 2012 Dinnerbone tweets the first images of the anvil's interface.
10th October, 2012 Dinnerbone tweets the first screenshot of the anvil itself.
1.4.2 12w41a Added anvils.
12w42a Anvils now have an easier crafting recipe.
Changed anvil texture slightly.
It is now possible to repair tools, by using more of the material it is made of. (Such as adding diamonds to a nearly broken diamond pickaxe). Renamed item names appear as italic text now. # Levels was changed to Enchantment cost.
1.4-pre Added new sounds for the anvil.
Removed level cap for creative mode.
1.4.6 12w49a Enchanted books were added. They can only be used with the anvil.
12w50a Enchanting non-tools with enchanted books only works in creative mode.
Silk touch can now be applied to shears by using the anvil, meaning cobwebs can be harvested.
1.5 13w02a Mobs spawned from renamed spawn eggs have the name of their spawn egg, and their names will appear in the death message of them killing a player.
Mobs can now display their custom name as nametag using an NBT tag.
Brewing stands, chests, dispensers, enchantment tables, furnaces, and trapped chests will display their new name in their GUI where the normal name used to appear.
13w04a Mobs now show the name given to them (either by renaming their spawn egg or by external editors) above their head when the player looks directly at them within hitting range.
1.6.1 1.6-pre Renaming a spawn egg "Dinnerbone" or "Grumm" will cause the mob to spawn upside down (this also works with renaming name tags).
1.7.4 Renaming a sheep spawn egg "jeb_" will cause the sheep to spawn with multicolored wool (this also works with renaming name tags).
Upcoming
1.8 14w02a Costs reduced to balance out with the new enchanting system.
Renaming items only costs 1 level.
Repairing costs reduced, 1 level per raw material or sacrifice regardless of durability restored.
Extra costs for repairing an enchanted tool are eliminated. Costs for combining enchantments are reduced.
Repairing costs can no longer be kept down by renaming items.
14w04a Prior work cost increase changed from linear (1 per repair) to exponential (times 2 plus 1 per repair).
Repairing with a "sacrifice" now costs 2 levels rather than only 1.
Console Edition
TU14 Added anvils.

[edit] Issues

Issues relating to "Anvil" are maintained on the issue tracker. Report issues there.

[edit] Trivia

  • If a block is renamed it will not keep its name after being placed.
  • It takes a total of 31 iron ingots to craft an anvil; more than a whole set of iron armor (24 ingots).
  • The falling ability of the anvil is a reference to the common cartoon trope.
  • The anvil has the same blast resistance as obsidian and the enchantment table.
  • If you rename a material, such as diamonds, it will not stack with unnamed or differently-named items.
  • An anvil will last about 25 uses on average.
  • Armor reduces the amount of damage caused by falling anvils.
  • The high blast resistance and transparency of the block makes for a good blast-proof window.
  • If a falling anvil lands on a pressure plate, it will damage any mob standing on the pressure plate, and drop as an item.
  • For unenchanted items, "unit repair" can easily cost more material than just crafting a new item or combining damaged items. The exception is armor, where you can use less material at the cost of experience levels. Also, the choice between unit repair and sacrifice repair depends very much on the details (how damaged is the target, and the proposed sacrifice? How many enchantments?), especially when dealing with diamond items.
  • If placed on top of exploding TNT blocks, the explosion won't affect the surrounding area.
    • This is because the Anvil falls into the space the TNT entity is occupying, and since the TNT's explosion power is not high enough to destroy the anvil, no blocks are destroyed.
  • Anvils are also commonly used as a guillotine because of its ability to kill mobs/players as a controlled entity.
  • No action sounds are given while stepping on or jumping on an anvil.
  • If an anvil is placed on top of a chest, you are still able to open the chest.
  • If two anvils are placed in a corner fashion like so |_ (the lines are the anvils) you are able to walk through the anvils if you are at the right angle.
  • Renaming a mob spawn egg "Dinnerbone" or "Grumm" will cause the mob to spawn upside-down.
  • Renaming a sheep spawn egg "jeb_" will cause the sheep to periodically change colours, however when sheared the sheep drops the colour of wool it originally was.
  • Although anvils are made of iron, which requires a stone pickaxe to break, anvils only require a wooden pickaxe to be broken.
  • If an anvil falls on top of any kind of rail, torches, redstone, repeaters... the block will be replaced by the anvil and will not drop itself.
  • Depending on which of the 2 slots an item is placed in, the level amount for combining enchantments can differ. For example if you put a power 3 bow in slot 1 and unbreaking 3 in slot 2 it may cost 28 levels. If they are reversed it may cost only 22 levels.
  • In Villages, Blacksmiths still have double stone slabs instead of anvils even-though the stone slabs were replacements for an anvil.
  • Judging by the weight of iron, an anvil from Minecraft in real life would weigh 39,107.53 pounds, which is roughly the weight of ten cars.
  • In a Superflat world created with layer(s) of anvils, they will all face North-South.

[edit] Gallery

[edit] References