1

I am making a map and I would like to know how to make custom NPC's. Thank you I will post the map soon after the answer. (:

2

You need to get a Command Block

/give @p minecraft:command_block 

You've to run the following command in a Impulse Command Block (normal command block).

Change the word "NAME" to what you want the name of the NPC to be (example Jay). Then activate it.

/summon ArmorStand ~ ~1 ~ {ShowArms:1,CustomNameVisible:1,CustomName:NAME} 

You should now have an armor stand named what you changed "NAME" to. Put armor on it and a head (optional give it a block or tool).

Now place another Impulse Command Block (normal command block). Place the following command below in it. Change the word "NAME_" to what you want with _ at the end (example Jay_). Then change where it says "MOB" to the minecraft mob you want you NPC to have (example villager, zombie, creeper)

/summon MOB ~0 ~1 ~0 {CustomName:NAME_,CustomNameVisible:1,Silent:1} 

Now place a Repeater Command Block (purple command block) Set it from "Needs Redstone" to "Always Active". Then Place the following command below. Change "NAME" to what the armor stands name is (example Jay) and also change "NAME_" to what the MOB name is (example Jay_)

/tp @e[name=NAME] @e[name=NAME_] 

Place a Chain Command Block (green command block) in front of the Repeater Command Block (purple command block) having the arrow on the Repeater Command Block pointing into the Chain Command Block. Set the Chain Command Block from "Needs Redstone" to "Always Active". Finally now place the final command below in the Chain Command Block. Then change "NAME_" to what you named the minecraft mob (exmple Jay_).

/effect @e[name=NAME_] minecraft:invisibility 1 1 

Now you should have your very own NPC in your world.

  • what if I want the npc to move around? – technikfe Aug 30 '16 at 20:41
  • 1
    @technikfe You can try to look for this tutorial gamefaqs.com/boards/606524-minecraft/62209559 – Mattew Aug 30 '16 at 20:44
  • @Matthew there is no solution in the forum – technikfe Aug 30 '16 at 20:57
  • I don't know if I can be honest. – Mattew Aug 30 '16 at 20:58
  • @Matthew oh thanks for the creating answer it is cool (: – technikfe Aug 30 '16 at 20:58
0

Or you could just do what I do. Use this command generator; https://minecraftcommand.science/shop-generator you can make your NPC villager have a custom name, sell certain items, have certain prices, job,and more. I hope this helped!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.