Minecraft game art illustration of a nighttime world.


Need assistance on your journey with Minecraft: Education Edition? Use the knowledge base to find what you’re looking for.

Adding Non-Player Characters (NPCs)

Villagers and “NPCs” are non-player characters. They are humanoid characters in your worlds that can be used to provide “life” and ambiance to your city and village settings, be interacted with by visitors to your world, and also provide additional lesson information, hints, or instructions for your students to discover.

To create these non-playable characters in your world, you can use Spawn Eggs to place them. Find the appropriate egg (marked with an exclamation point) and bring it to your inventory, or select it in creative mode via the “Tools” tab.



  • Education Edition Exclusive: Yes
  • World Builder Permission Needed: Yes (placement, editing)

NPCs are more interactive than Villagers, and with 1.0.2, we have introduced a number of new features, noted below.

  • NPCs stay where you put them.
  • NPCs can be named.
  • Can display dialog text when interacted with.
  • You can assign URLs and commands to buttons. (added, 1.0.2)
  • You can launch one URL from the game (1.0.18 and below), or several URLs (added, 1.0.2)
  • You can execute multiple commands in the order they are added. (added, 1.0.2)
  • Up to six (6) buttons in any combination of URLs and/or commands can be featured in this space. (added, 1.0.2)
  • You may launch or execute URLs and commands automatically when the player is finished interacting with the NPC. All automatic commands (and URLs) are executed in the order they are added to the NPC. (added, 1.0.2)

Warning: Any NPC built with features added in 1.0.2 will not be compatible with Minecraft: Education Edition clients prior to 1.0.2. NPCs built prior to 1.0.2 will continue to work as designed. As always, we recommend upgrading to the most recent version for the latest and greatest features.

If you are a World Builder, right clicking the NPC will bring up the customize screen. In this screen, you can change the name, displayed text, skin, and access 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.

From here you can:

  • Name your NPC.
  • Enter the message you wish the NPC to share into the Dialog box.
  • Choose your NPC skin.
  • Click the Advanced Settings button.

At this point the Advanced NPC Settings window opens, and a brief description of each button’s function appears. You can close the settings window by clicking the ‘X’ in the upper right corner of the window.

Add a URL

Add a Command

  • Click the add URL button.

  • Add your favorite website (like http://education.minecraft.net)

  • Enter it into the URL field.

  • Click the add command button.

  • Choose your favorite command (we will use “/give” and give players a camera).

  • Enter it into the “command field”.

  • Use the Button Mode Toggle for any button to make this an optional command. Optional commands require the player push the button in order to activate.
  • When you toggle this to ON, a line will appear so you can put a name on this button. You can use up to 12 characters, so choose wisely.
  • When it is toggled to OFF, the URL will automatically be displayed, or the command will run when the player is finished interacting with the NPC.

Note: URLs launch in the user’s default web browser whether they are launched automatically or by clicking the link button.

When a non-World Builder interacts with the NPC, the options we set up earlier will appear as buttons. Command buttons have black text, URL button text displays in the classic underlined “hyperlink blue”.

To edit any of the settings, turn World Builder back on and click the NPC to return to the Advanced NPC Settings window.


  • Education Edition Exclusive: No
  • World Builder Permission Needed: No

Villagers can:

  • Spawn naturally within a world or be spawned via egg.
  • Have an inventory and trade items with you.
  • Wander aimlessly – they do not like holding still.
  • Run away if attacked.

Villagers have one six randomly generated professions and one of 1-4 randomly selected careers within that profession.The career of the villager will influence the type of inventory they are carrying.


Farmers can be a farmer, fisherman, shepherd or fletcher.


Librarians can be librarians or cartographers.


Priests are clerics.


Blacksmiths can be armorers, weapon smiths, or tool smiths.


Butchers are either butchers or leatherworkers.


Nitwits have no career path.

The Nitwit villager also has no inventory. This is a sample of the villager inventory and trade window you will see when you click on them.

For more information and details about Villagers, please refer to the Official Minecraft wiki on this topic.

Additional Resources


Updated October 19, 2017