Pixel art illustration of a heavy dark gray iron anvil
Minecraft Java Item ID

Anvil ID

Anvil is a utility block for repairing and renaming items. It is crafted from iron blocks and iron ingots and degrades with use.

Partial data
Namespaced item ID minecraft:anvil

Anvil Item Facts

Maximum stackNot yet verified
Historical numerical ID145

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Anvil

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:anvil 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 145 1

Give command syntax by version

Java 1.13+
/give @p minecraft:anvil 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 145 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:anvil 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Anvil

Crafting Recipe

Block of IronBlock of IronBlock of Iron
Iron Ingot
Iron IngotIron IngotIron Ingot

Crafting table recipe — makes 1 × Anvil.

Prefer commands? Jump back to the give command matrix above to get Anvil instantly.

Anvil Block Stats

Hardness5
Blast resistance1200
Best toolPickaxe
Needs Silk TouchNo

Anvil in Minecraft: Renaming, Repairing, and Enchant Combining

Quick answer: Use minecraft:anvil in Java Edition commands. Craft an anvil from three iron blocks and four iron ingots; it renames items, repairs gear with materials, and combines enchanted books onto equipment, at rising experience costs.

The three core jobs

Renaming costs one level and applies to anything, from swords to name tags. Repairing consumes the item's material, like diamonds for diamond gear, or a matching item, and restores durability. Combining merges two enchanted items or applies an enchanted book.

Every use raises a hidden prior-work penalty on the result, so repeated anvil work gets exponentially pricier. Plan big enchant builds by combining books with each other first, then applying the finished book to the item.

  • Crafting: 3 iron blocks + 4 iron ingots, 31 iron total.
  • Anvils degrade with use: anvil to chipped to damaged, then break.
  • Costs above 39 levels show as too expensive in survival.

Anvils as furniture and hazards

Anvils are gravity blocks: placed or dropped anvils fall, and a falling anvil damages whatever it lands on, including players and chickens. Worn anvils can also be used as improvised weapons in dripstone-free traps.

Falling anvils take damage themselves, so dropping one repeatedly is a slow way to break it. For decoration, chipped and damaged variants give blacksmith builds a lived-in look.

Anvil Command Examples

  • Give 1 to nearest player: /give @p minecraft:anvil 1
  • Give 1 to yourself: /give @s minecraft:anvil 1
  • Give to a specific player: /give PlayerName minecraft:anvil 1
  • Clear from inventory: /clear @p minecraft:anvil

Anvil FAQ

What is the item ID for Anvil?

The item ID for Anvil is minecraft:anvil. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Anvil?

Anvil has the historical numerical ID 145, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:anvil instead.

How do I give myself Anvil in Minecraft?

Open the chat window and run /give @p minecraft:anvil 1 to give the nearest player one Anvil. Replace @p with a player name to target someone else.

How do you craft Anvil?

Anvil is crafted on a crafting table with 3 block of irons and 4 iron ingots, which yields 1 Anvil.

How do you craft an anvil in Minecraft?

Place three iron blocks across the top row, one iron ingot in the center, and three iron ingots across the bottom. That is 31 iron ingots total, one of the most iron-hungry single recipes in the game.

Why does my anvil say too expensive?

Each anvil operation raises the item prior-work penalty. Once the total cost exceeds 39 levels, survival anvils refuse the job. Combine books together first and apply the priciest enchantments early to stay under the cap.

Do anvils break in Minecraft?

Yes. Each use has a chance to degrade the anvil through chipped and damaged stages until it breaks. Expect a few dozen uses per anvil, and keep iron ready for replacements.

Related Miscellaneous

Item ID: minecraft:crafting_table
Item ID: minecraft:furnace
Item ID: minecraft:chest
Item ID: minecraft:ender_chest
Item ID: minecraft:enchanting_table
Item ID: minecraft:beacon
Item ID: minecraft:conduit
Item ID: minecraft:book