Survival
How to make an anvil in Minecraft
Use three iron blocks and four iron ingots, for a total of 31 ingots.

1. Build the shape
Fill the top row with iron blocks. Put one ingot in the middle of the center row and fill the bottom row with three ingots.
2. Check the level cost
Place the item first and the repair material, second item, or enchanted book in the second slot. Check the displayed experience cost before taking the result.