Minecraft Mobs Wiki

Non Player Characters (abbreviated as NPCs) are both passive and interactive mobs that have model similar to villagers. They are exclusive to Education Edition and Bedrock Edition.

Unlike other entities, NPCs do not spawn naturally; they can be spawned using the NPC spawn egg (it can be obtained with the following command: /give @s spawn_egg 1 51), or by using the command /summon npc. When spawned, an NPC displays a name hovering over its head. The default name is "NPC" with a color code of §e, resulting in the name being yellow.

To spawn an NPC with its spawn egg, the player must have the Worldbuilder authorization, automatically granted to players in Creative mode, or by using the /worldbuilder command.