NPCs are humanoid characters in Minecraft that can be used to provide ambiance, fun interactions and communications related to lessons, directions or dialogue.
To create NPCs, open your inventory (type E) and add a Spawn Egg to your inventory. Place the Spawn Egg to create an NPC.
To program an NPC, right click the NPC to bring up the customize screen. In this screen, you can change the name, displayed text and skin. You can add URLs and special commands in Advanced Settings. World Builders can re-access this menu repeatedly to edit it. The name of the NPC will remain visible from a distance, even through walls. When an Operator or non-World Builder right clicks on an NPC, they will see the displayed text.
For more information visit our Minecraft: Education Edition knowledge base.