How to make npc follow you in minecraft
Jessica Burns
Published Mar 28, 2026

In this video I’ll show you how to make followers and A little extras you can do with the followers.Custom NPC’s Forum Link:
There are other answers below:
How to MAKE and USE NPCs in MINECRAFT!!! – YouTube. How to MAKE and USE NPCs in MINECRAFT!!! If playback doesn’t begin shortly, try restarting your device. Videos you watch may be added to the …
How do you make NPCS follow players? How do you command an NPC in Minecraft? The player can summon an NPC in Bedrock Edition by either using the command /summon npc or /give @s spawn_egg 1 51. The name of an NPC remains visible from a distance, even through walls. How do you get entities to follow you in Minecraft?
Hmm, try checking the squared distance in your loop, and if it exceeds a certain value make the npc follow the player. That might give a more natural approach if that is your goal. You also might not need the block check as the npc can handle unreachable locations by not trying or teleporting.
You’ll have to add these code into the script of he follower you want to follow you (i.e. Clover’s Script,Jericho’s Script etc.) When theres already a “begin Gamemode” block in the script, just add these contents into that block.
I’m attempting a different way to make my npc move towards a player. I’ve already seen youtube tutorials but I’m trying to make it move a different way, but it won’t move. local Distance = 100 local Titan = script.Parent local Players = game.Workspace:GetChildren () local hum = nil local humroot = nil function getNearestPlayer (position) if …
Targeting NPCs. To use the /dialogue command, you must target an NPC. This will act as the NPC the dialogue is showing up from and will use that NPC’s image inside the dialog’s portrait. The NPC you want to trigger the dialog from must exist inside the world.
To create a custom NPC, follow these instructions: Obtain an NPC spawn egg from the creative menu or by using the command /give @p spawn_egg 1 51. Right-click to place an NPC on your desired block. If you misplace an NPC, you can left-click to despawn them. Right-click your new NPC to open the NPC interface. Enter a name for your NPC. Names are limited …
NPCs allow players to display dialogue on a UI screen, and the UI screen remains up until the player manually exits. This gives players the time they need to read all the dialogue. Creators can make the dialogue as long as they want, because NPCs automatically add a scroll bar if the dialogue is too long to appear on screen.
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}