I'm using the Custom NPCs mod in MC 1.12.2 and I have the command to teleport the NPCs to the player

/tp @e[type=customnpcs:customnpc] ChaoticDuskMC

However, I want to teleport a specific NPC that I have. The one I want to use is called Freddy.

Is there a command that I can do that only teleports the "Freddy" NPC to me?

1 Answer 1

/tp @e[type=customnpcs:customnpc,name=Freddy] ChaoticDuskMC

The name argument restricts the command to entities named Freddy.

  • Thank you so much!!!!!! Aug 19, 2022 at 18:11
  • Happy to help! If this answer worked for you, press the check mark button next to my answer. Welcome to Arqade!
    – AdamRaichu
    Aug 20, 2022 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .