Skip to main content

Make NPC's selectable in commands

Comments

5 comments

  • Yep, I am searching in the internet how to teleport NPC to create levels of challenges, but, NPC is not a entity yet in MEE. Such a little thing but make a lot of difference.

    0
  • Dan Noble

    Hi Stephen Elford and marcelo saldanha just came across your inquiry. 

    It is possible to teleport an npc with the following command (bob is just a stand in name, the ~ ~ ~ is your position, but you could change that to anything): 

    /tp @e[type=minecraft:npc,name=bob] ~ ~ ~

    *this only works for NPCs that have been summoned with a command block, at least insofar as I have seen. 

    0
  • Andrew C

    Dan Noble Could you post the command for summoning an NPC via command block? I can't seem to get it to work. Is it the same syntax as a normal / command?

    I tried this, but returned an error:

    /summon Minecraft:npc ~~~ “” NPCname

    0
  • Dan Noble

    Hi Andrew C

    Sure thing: 

    /summon minecraft:npc ~ ~ ~ string anne

    0
  • Andrew C

    I would love to see more options for NPC movement. Something like moving them via code builder (similar to agent), or programming movement loops as a command option, or a switch/setting to make an NPC wander locally (like other mobs).

    0

Please sign in to leave a comment.