alright i solved the 1.19 mystery since it changed the execute command. im on switch(bedrock) so here is what i figured out. 1. find the block you want to place the command block on then write the cordinates 2. next get an npc spawn egg and rename what you want their name to be in the anvil (npc by default) 3. in the command block once again make sure its on repeat and here is the command i used: >>> Execute at @e[name=npcnamehere] run tp @e[name=npcnamehere] ^ ^ ^0.1 facing @p > command block at 0 58 0 > and npc named test
@@ZyunLi For Example Broken Down: At Says Where To Run It And Run Is A Command You Want To Run. Theres Many Other Parts Like Align But I Don't Want To Complicate Things. Just Hope This Can Help People Who Are Struggling Due To 1.19 Changing How It Works ^^'
Here are some reminders: 1. Make sure you put the correct/exact command in command block.. 2. Make sure your npc name is the exact same you put in your command block.. if your npc has cap letters in its name, cap the word too in the command block. 3. You need to put "Setblock command" in your npc advance box.. setblock it with redstone block or air beside or behind or above the command block, air and redstone block must be in different command box, for example: [Follow me] > setblock (the coordinate) redstone_block... do the same for air but replace redstone block to air. 4. make sure the command block faces side or top 5. Make sure your in 1.17+ or 1.18+ 7.Make sure your command block is set to repeat mode tips: Turn on the previous output so you can see if there something wrong Also here is the command: Execute @e[name=YourNpcName] ~ ~ ~ tp @e[name=YourNpcName] ^ ^ ^0.1 facing @p Copy the command so you don't need to go back and fourth copying the command Have a nice day!
very good! but i have a question: If i make a repetitive command_block always active that make the npc teleport to a villager, AND the villager have the command of this video, it will have gravity? Since i notice the npc don't fall down the redstone_block And have an method to make the npc collide and not pass solid blocks? thank you!
The only problem is that npc fly when you go below 1 block. To fix that you need to go near the npc (But for me. the npc doesn't fly since i changed version)
is there a way to do this without command blocks? I'm trying to make an NPC for an add-on that will follow you like this and I want it to be able to applied to any world
so i found a solution im working on trying to completely fix it if i cant then i hope it not doing it unless you get close helps. (it stops in front of you but if you walk closer to the npc it starts glitching again) edit: fixed it and i added in a bonus im still working on, aka adding proper gravity for now its just . . . well ill explain SO commands for now: this is the original repeat command modfied: execute at @p unless entity @e[rm = 0.01. r = {how far you want it to stop from you}] at @e[name = {npc name}] run tp @e [name = {npc name}] ^ ^ ^0.1 facing @p for now for gravity you need another repeating command block to add this, make sure its conditional and always active, then type this (no way around this and will update if i find a better way:) Execute at @e [name = {npc name}] run tp @e [name = {npc name}] ~ ~{floor coordinates} ~ facing @p since i'm on superflat mine is set to -60, and yes this stops flying but it doesnt react with colision or go up stairs or blocks yet . . . i have an idea to add collision but i dont know about going up and down blocks normally . . . edit: collision detection is possible but its beyond my ability . . . going to see if i can come up with a better gravity solution
@@sagelavendergaming8061 Cool!, i want to try it soon!. Also your question..its impossible to do it without command block because the main function is the command block
Hi i tried everything and it still doesn't move i looked over everything and it was correct does it matter if the command block was originally impulse?
Switch? Bedrock? Right?. It should be bedrock and has NPC feature. And also try to watch carefully especially the command, you need to copy it, word by word
1. Make sure you put the correct/exact command in command block.. 2. Make sure your npc name is the exact same you put in your command block 3. You need to put "Setblock command" in your npc advance box.. setblock it beside or behind the command block 4. make sure the command block faces side or top 5. Make sure your in 1.17+ or 1.18+ tips: Turn on the previous output so you can see if there something wrong
Im so sorry that you didn't understand because of my grammar or something else :( But don't worry!.. i will recreate the video. And also make sure you watch the whole video without skipping to understand it :)
alright i solved the 1.19 mystery since it changed the execute command. im on switch(bedrock) so here is what i figured out.
1. find the block you want to place the command block on then write the cordinates
2. next get an npc spawn egg and rename what you want their name to be in the anvil (npc by default)
3. in the command block once again make sure its on repeat and here is the command i used:
>>> Execute at @e[name=npcnamehere] run tp @e[name=npcnamehere] ^ ^ ^0.1 facing @p > command block at 0 58 0 > and npc named test
just realized i can name items and the same thing happens. this may be the most cursed thing i own now lol
Execute comamand changed?
Nice, pinning this for future viewers
@@ZyunLi Yes It Now Uses More Twards Java Syntax I Believe. Which Is Why It Looks Different If You Looked At The Command I Put.
@@ZyunLi For Example Broken Down: At Says Where To Run It And Run Is A Command You Want To Run. Theres Many Other Parts Like Align But I Don't Want To Complicate Things. Just Hope This Can Help People Who Are Struggling Due To 1.19 Changing How It Works ^^'
Thank you! I’m doing a school competition on Minecraft (I’m a student btw) and I need to code npc to walk!
Nice
Here are some reminders:
1. Make sure you put the correct/exact command in command block..
2. Make sure your npc name is the exact same you put in your command block.. if your npc has cap letters in its name, cap the word too in the command block.
3. You need to put "Setblock command" in your npc advance box.. setblock it with redstone block or air beside or behind or above the command block, air and redstone block must be in
different command box, for example: [Follow me] > setblock (the coordinate) redstone_block... do the same for air but replace redstone block to air.
4. make sure the command block faces side or top
5. Make sure your in 1.17+ or 1.18+
7.Make sure your command block is set to repeat mode
tips:
Turn on the previous output so you can see if there something wrong
Also here is the command:
Execute @e[name=YourNpcName] ~ ~ ~ tp @e[name=YourNpcName] ^ ^ ^0.1 facing @p
Copy the command so you don't need to go back and fourth copying the command
Have a nice day!
Thxxx
Ok
Its saying no targets matched selector
@@Lukiebrofilms make sure you put the correct name, including the caps
@@ZyunLi ok thanks
Thank you so much for this tutorial! Just subbed bc you're amazinggg
LETS GOOO I FINALLY FOUND HOW TO MAKE MOBS FOLLOW YOU
awsome tutorial! great for someone like me.
very good!
but i have a question:
If i make a repetitive command_block always active that make the npc teleport to a villager, AND the villager have the command of this video, it will have gravity?
Since i notice the npc don't fall down the redstone_block
And have an method to make the npc collide and not pass solid blocks?
thank you!
The only problem is that npc fly when you go below 1 block.
To fix that you need to go near the npc
(But for me. the npc doesn't fly since i changed version)
@@ZyunLi thanks!
OMG IT WORKED I CAN MAKE A MINECRAFT GAME NOW!!! GOT NEW SUB
is there a way to do this without command blocks? I'm trying to make an NPC for an add-on that will follow you like this and I want it to be able to applied to any world
i need mine to walk by itself like without following me
Its works thanks brother✌️
Im glad i helped y- Hey!, Your not playing minecraft
thanks tip man now i can make
Minecraft Unrelease Update
Hello, can you tell me how to make the characters walk by themselves and say simply
Do you have any idea on how to make it stay a little bit away? Instead of it glitching when it gets to me?
i have an idea im testing it now . . . because i also wanted to know this.
so i found a solution im working on trying to completely fix it if i cant then i hope it not doing it unless you get close helps. (it stops in front of you but if you walk closer to the npc it starts glitching again)
edit: fixed it and i added in a bonus im still working on, aka adding proper gravity for now its just . . . well ill explain
SO commands for now:
this is the original repeat command modfied:
execute at @p unless entity @e[rm = 0.01. r = {how far you want it to stop from you}] at @e[name = {npc name}] run tp @e [name = {npc name}] ^ ^ ^0.1 facing @p
for now for gravity you need another repeating command block to add this, make sure its conditional and always active, then type this (no way around this and will update if i find a better way:)
Execute at @e [name = {npc name}] run tp @e [name = {npc name}] ~ ~{floor coordinates} ~ facing @p
since i'm on superflat mine is set to -60, and yes this stops flying but it doesnt react with colision or go up stairs or blocks yet . . . i have an idea to add collision but i dont know about going up and down blocks normally . . .
edit: collision detection is possible but its beyond my ability . . . going to see if i can come up with a better gravity solution
heres my commands for reference:
1st Command Block:
execute at @p unless entity @e[rm = 0.01. r = 2] at @e[name = Geo] run tp @e [name = Geo] ^ ^ ^0.1 facing @p
2nd Command Block:
Execute at @e [name = Geo] run tp @e [name = Geo] ~ ~-60 ~ facing @p
@@ZeninariPlease make a TH-cam tutorial, I find it easier to understand on videos.
I will sub once you upload, remind me too
@@chariebelletiempo3604 i can't record my switch sadly but i will check if it's still working as of 1.20
That ncp is a god, he is flying
Indeed
Why this doesnt work😭😭😭 im playing on ps4
Didn’t work for me. It gave me a sign tax error.
The same happens to every mob, or just npc?
Example: I want a pig following me.
Depends
But im pretty sure it won't work unless you got the "holding item that will activate the command" thingy.
Yes it's possible
does it work on betrock minecraft?
i mean bedrock minecraft 😅
Not anymore
Thank you❤❤❤
Hey what if we summon the npc with egg please tell me i already summon one with the egg
It won't work if you summon it using egg.. i tried it
but maybe in the newest version of the game will work ig
@@ZyunLi bro it still don't work do you have any other method for following npc without command block
@@sagelavendergaming8061 I will try my best
@@ZyunLi actually currently i am working on a adventure map that's why i need it
@@sagelavendergaming8061 Cool!, i want to try it soon!.
Also your question..its impossible to do it without command block because the main function is the command block
You know if this still works in 1.19 because they changed the /execute command and it doesnt work in my world
It appears they changed the NPC mechanics
Hi i tried everything and it still doesn't move i looked over everything and it was correct does it matter if the command block was originally impulse?
the execute command changed after 1.19, what you see in the video was 1.18 which is before the execute update
check the pinned comments
You can use the commad in the chat it’s /give @p spawn_egg 1 51
BRUH I PUT EVERYTHING IN CORRECTLY AND IT DIDN'T WORK.
It doesn't work I trit it 😢
Is there a way to make is not spam the chat when they follow you?
Ofc!, You need to use this command
/Gamerule commandblockoutput false
Document says I did it wrong
It did not work for me :(
I tried it, it doesn't work
idk why its not working for me im in switch is that a problem?
Switch? Bedrock? Right?. It should be bedrock and has NPC feature. And also try to watch carefully especially the command, you need to copy it, word by word
Can it work on 1.21❤
Works only on pc correct? Which is Java edition
Unfortunately, It only works on bedrock and education edition since java doesn't have npc
its not working 😢
It did not work😢
It works Thanks👍👍😊
You're welcome!.. im glad i helped you
This work on 1.18 and phone?
I guess yes. Imma try later if it works in 1.18+
Then show the result later
Thank you 🎉🎉🎉🎉🎉
It did not work
IT not work me
I did not work
Огромное тебе спасибо!!!
очень помог)
Я рад, что помог вам!
new subscribe new server name:FoxCraft
Rip don’t work
what is this man, is not even good, it flies man
Does not worl
setblock -5 -60 -4 redstone_block
Bro why my not waking
1. Make sure you put the correct/exact command in command block..
2. Make sure your npc name is the exact same you put in your command block
3. You need to put "Setblock command" in your npc advance box.. setblock it beside or behind the command block
4. make sure the command block faces side or top
5. Make sure your in 1.17+ or 1.18+
tips:
Turn on the previous output so you can see if there something wrong
I did it didn’t work🥺
Check the pin comment
I actually don't understand
Dude thats education edition
It didn’t work :(
Im so sorry that you didn't understand because of my grammar or something else :(
But don't worry!.. i will recreate the video.
And also make sure you watch the whole video without skipping to understand it :)
@@ZyunLi thanks!
@@ZyunLi ...
Didn’t work
Epic
/execute @e[name=Nice] ~ ~ ~ tp @e[name=Nice] ^ ^ ^0.1 facing @p
142, 63, 158
Omg is this Java 😭NOOOOOO
Nahhhhh this is not java nor bedrock.
This is minecraft ¯\_(ツ)_/¯
-253, 64, 30
Feick
SO FAKE IM TIRED OF FAKE VIDEOS
setblock -5 -60 -4 air
Execute @e[name=Nice] ~ ~ ~ to @e[name=Nice] ^ ^ ^0.1 facing @p
Execute @e[name=Nice] ~ ~ ~tp @e[name=nice] ^ ^ ^0.1 facing @p
how do you change the speed of the npc @YMCraftbloxYT
Actually i don't know but maybe you can put effect like speed or slowness effect on your npc
@@ZyunLi true thank you for the idea i will try it but sadly my npc (johnny) is lost i dont know how he got lost but... idc about him lol
@@miramah03 sadly.. i tested the effect earlier and it didn't work or maybe i put the effect command wrong
Also
Rip Jhonny
@@ZyunLi RIP...
execute @e[name=nice] ~~~ to @e[name=nice] ^ ^ ^0.1 facing @p
-47 -61 -10
It didnt work :(
Execute @e[name=Nice] ~ ~ ~ tp @e[name=Nice] ^ ^ ^0.1 facing @p
Execute @e[name=Nice] ~ ~ ~ to @e[name=Nice] ^ ^ ^0.1 facing @p