Question: how to change the name of an item in minecraft?
Answer: Place the Anvil. Once you have the required materials, add the anvil to your hotbar so that it is an item that you can use. ... 
Use the Anvil. To use the anvil, you need to stand in front of it. ... 
Name the Sword. ... 
Move the Named Sword to Inventory.