Open a crafting table
Place 2 sticks in a vertical line in the middle column
Place 1 material above the sticks
Use 2 wooden planks for a wooden sword
Use 2 cobblestone for a stone sword
Use 2 iron ingots for an iron sword
Use 2 gold ingots for a golden sword
Use 2 diamonds for a diamond sword
Take the sword from the result slot
