How can I give a nickname to an NPC?
How can I give a nickname or items to an NPC in vanilla Minecraft?
Best Answer
Using commands (cheats) you can get a name above the villager doing the following:
- Get a Villager Spawn Egg (
/gamemode 1
and locate to the Miscellaneous section.) - Rename the spawn egg using an anvil and some experience.
Now just spawn the villager using the egg.
You'll only see the name when you look at the mob.
Now if you don't get the Villager you want, just keep trying until you get the villager you want, while killing the extras off.
If you wait until 1.6, you can do this without cheating by using the Name Tag for other creatures other than the villager. They can be crafted and by using an Anvil, you can rename the tag. Then find a mob and build-click on it. Now you have a name above the mob. The downside is you cannot name villagers with this item, however that appears to be a snapshot bug (reported as a bug #MC-14525 on Mojira).
To answer the other part of your question, you can't give villagers any items, you can only trade with them.
Pictures about "How can I give a nickname to an NPC?"
Quick Answer about "How can I give a nickname to an NPC?"
How do you make an NPC name?
Here are a few tricks for creating NPC names, taken from the Roleplaying Tips Weekly archives.How do you name an NPC in Minecraft Education Edition?
If you really want to rename your NPCs badly, you can do so by editing your raw save file with a hex editor like HxD. This should go without saying, but make a backup first because it's very easy to fry your save file. Currently*, the NPC names are at the very end of the save file.How to make a custom name tag for your NPC in Roblox Studio
More answers regarding how can I give a nickname to an NPC?
Answer 2
Using MCEdit
You can give a nameplate to mobs by using Sethbling's ChangeMobs filter: select a mob, type the desired name into Name
and select Show Name
.
You can give custom drops to mobs by using Sethbling's CreateGearedMobs filter: put items that you want the mob to drop in a chest, run the filter on the chest and select which mob you would like.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Kristina Paukshtite, Ylanite Koppens, Ylanite Koppens, Marko Klaric