Introduction
Using non-player characters (NPCs) in Minecraft is a good way of adding your own content into a world that you are creating for others. They can interact with players in several ways:
- Displaying a fixed dialogue when players click on them. This may provide them with important information about the world or clues for a treasure hunt.
- Display one or more buttons that run commands or open up web page. This is where we need to have a good understanding of Minecraft slash commands.
- Stay in a fixed position. NPCs do not move although they can fall downwards. They can only be added and removed by a ‘world builder’.
Step 1 – Find NPC egg from Inventory
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc1-1024x666.png)
Step 2 – Toggle World Builder ‘on’
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc2-1024x855.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc3-1024x275.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc4-1024x239.png)
Step 3 – Place and configure NPC
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc5-1024x927.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc6-1024x627.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc7-1024x438.png)
You can also use the left/right arrows to position the cursor.
Step 4 – Advanced Settings to add URL or Command
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc8-1024x619.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc9-1-1024x621.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc10-1024x612.png)
There are 3 options for when the command is run:
- Button mode – the user must click the button for the command to run. You can set the label for the button.
- On enter – the command is run when the user right-clicks the NPC to read the dialogue.
- On exit – the command is run is when the user closes the dialogue box.
Step 5 – Test your NPC
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc11-1024x249.png)
![](https://helpkidscreate.com/wp-content/uploads/2021/05/npc12-1024x500.png)
0 Comments