Minecraft Data Packs / Cosmetic

Interactive NPC's

  • check_circle Functions
  • 14,560 views, 1 today
  • 585 downloads, 0 today
  • 18
  • 17
  • 1
oedze avatar oedze
Level 27 : Expert Miner


This datapack adds NPC's in the game using Armor Stands.

The NPC's can do the following things:
  • Walk Paths, Including stairs and diagonal paths
  • Activate redstone
  • Look at you when you are close
  • Talk to you when you are close
  • Force you to look at them


To start type: /function npc:menu
This will bring 2 options, Create NPC and Get NPC Edit tool

Use create NPC to place a armor stand on the position you are standing.
Use Get NPC Edit tool to get a Carrot on a stick.

When you have your NPC in the world, you can dress them up however you like.

To enable features of the NPC, Aim at the NPC and Right click with the carrot on a stick.
The NPC should be highlighted
To deselect, click somewhere else with the carrot on a stick.
Don't use the right click to close to the armor_stand, you will just put the carrot on a stick in the armor stand's hands.

Different options are available when the menu opens
you can
  • Enable or disable the walking ability
  • Start the walking(Only needed when it doesn't start walking yet after you enable it)
  • Enable or disable the Looking ability
  • Enable or disable the Talking ability
  • Change the message to tell when player gets near.
  • Enable or disable the Forced looking ability
If you selected an armor stand that isn't a NPC yet. it will ask you if you want to make the selected armor stand a NPC

Making Pathways:

Making pathways is easy
The armor stand will follow magenta glazed terracotta(The one with arrows) that is placed below the block it's standing on.
Simply lay down the path and it will start following it(If walking is enabled)
Interactive NPC's Minecraft Data Pack

If you want to force the NPC to walk in the middle of the block, use pistons at the side of the pathway to force them to the center
Interactive NPC's Minecraft Data Pack

To create Diagnoal pathways, use Purple Glazed Terracotta
Interactive NPC's Minecraft Data Pack

You can create stairs using Lapis, Iron, diamond and emerald blocks

You can also create half block stairs

To use redstone in your Pathways, Place red wool under the Path,, when a NPC walks over it, it will replace all the red wool in a 3x3 area around itself to redstone blocks. It will replace all redstone blocks that are in the outer 5x5 ring with red wool


You can use this to make a simple door, or to make other redstone contraptions activate

If you want to delete a NPC on a Path, you can put a obsidian blok underneat the Path


All NPC's behavior is dependent on the Tags they are giving
These are the Tags. You can use them to summon in armor stands of you own with specific behavior.

NPC -> Used on all the npc armor stand, needs to be on all armor stand you want to make NPC
Walker -> Give the ability to walk over pathways
Looker -> Gives the ability to look at the nearest player
Talker -> Gives the ability to talk
forcelook -> Forces you to look to the armor stand (THIS DOESN"T WORK IN MULTIPLAYER CORRECTLY)

The next few tags are used to define what the NPC is currently doing, it will autoswitch to one of those states
Walking, Looking, Talking.

The NPC's will always use this order: Walk, Talk, Look.

If you want to change the text of what the NPC's are saying, you can change the taglines score.
There are 10 basic taglines, you can add more in the "taglines.mcfunction" file, make sure you change the score it is detecting

Questions and Suggestions

If you have any questions or suggestions to improve or add functionality. Please use this forum post, i will try to answer as soon as possible.

Have fun!
CompatibilityMinecraft 1.14

Create an account or sign in to comment.

09/27/2019 10:36 am
Level 1 : New Crafter
ani_cat_candy avatar
This sounds awesome but it's not working right.
When I click on the NPC armor stand with the tool, it just places it in it's hand, there's no menu or anything.
If you could check on this, I'd greatly appreciate it.
Planet Minecraft


© 2010 - 2023