Human Mob Mod 1.7.10. You can name them like you would any other mob, and that name will determine what player they look like.
You can befriend them by throwing a diamond at them. This also gives you the “Diamonds to you!” achievement, if you are at the appropriate progress level.
They will attack hostile mobs if holding a sword. They also do this if you haven’t befriended them yet, regardless of the weapon. (You can’t see it, but Notch is holding a diamond sword.)
How to install Human Mob Mod 1.7.10
Download Links for Human Mob Mod 1.7.10
For Minecraft 1.7.10