An example of a pathfinding algorithm would be one that simulates possible paths that this npc could take, then checks if the path reaches the end point, but it has to also have a clear line of sight with the endpoint. For example, if it didnt have a line of sight, it would think its reached the end but it might actualy be on the other side of a 1 block wall. In addition it could easily compare path lengths to find the shortest route.
@vodkacannon simulating possible paths take a lot of memory :). Line of sight is not something that AI is using for anything inside the virtual world because you know they are the agents into the matrix and have unlimited access.
@909Artix No, it was an NPC (ie not being controlled by a player but instead being controlled by the computer) from the 'Citizens' plugin for bukkit. If you have minecraft and a private bukkit server to mess about on I'd recommend installing it and giving it a go, it's really impressive what the developers have been able to do. You might have to wait for a 1.1 update though, I think they're still on server version 1.0.1.
@909Artix NPC could also be referred to as "Non-Player Character" Which labrat, was being controlled by the server and the Citizens plugin, and not a real person.
@JokucFromBFME its a schematic that can be used with MCedit, just get MCedit (free) go into it, click import and you can then paste it into your world, easy :)
@kbec789 :( I can't install any mods on my Minecraft anymore idk why. I know how to do it and it worked just fine before but now when I re-installed windows everything is screwed up and I get a bluescreen every time I try to install a mod. Eaven modloader wtf
And "because when you have enough time to watch a npc walk around for 12 hours?" What kind of fucking question is this? I don't even fully understand it.
@thereview9823 12 minutes, not hours. Also, if he likes to talk to other people who like to play minecraft, how is that different than people who like to go out and get drunk together? Shouldn't be so narrow minded or arrogant.
Also, if you are looking for lag effects, you would expect there to only be additional lag right at the very beginning, immediately after you give the citizen instructions as to his destination.
I would expect it to be similar to the lag from a ball replace brush of a similar diameter as either the distance from start to destination, or the maximum range of the citizen's calculations, whichever is shorter.
First of all, the plugin is very sleek and well made and user friendly, and it works. Fullwall did a great job.
BUT honestly, shortest path finding in a gridded world is pretty trivial to program. You simply "flood" the world, starting from your destination, and spreading in every direction possible, until the flood reaches you. Each voxel remembers where it flooded from, and then the first to hit you traces the path back. This is a pretty standard project in programming classes.
Are you guys ever gonna show Gavjenk's brain (redstone learning system) on video? Cool as hell to look at but I find it almost impossible to understand.
@Wildcard720 I didn't build a brain. i have only built one backpropagation modular neuron. Haven't gotten around to hooking it up to a full network of them yet. I should do that.
Impressive. Would be more impressive if the thing was smart enough to realize it could hop over the 1 wide gaps in the maze wall to reach the center rather than going around in a loop and hopping in.
Looking at what the bot is doing, I can tell that this bot works in actually a pretty simple way. The way it works is by the principle that you can get through any maze ever created(without loops) by just taking a right at every turn. If you look at the bot, that's how he traversed it at the ground level. When he exited the maze, it just took some rights, then found the block, however after that, the coders did some magic to make it work. That's my theory on how it works.
Impressive patting! (now if only these guys had been at work in Starcraft 2...)
As cool as it was that Labrat went on top of the maze, imagine how much more mind-blowing it would have been if he'd made it to the center without dropping back down in the maze!
@TheMinecraft55 Citizens is a plugin. It has a built-in path-finding, which is the name of the system in a program that actually helps AI's, in this case the NPC, help find a way from A to B, while taking in consideration any obstacle between these two points. As this video just showed, this plugin has an amazing path-finding system, which not many people manage to accomplish
@Acr3tion IRL it does, but this video is about the programmed path-finding, so it doesn't really go witht his kind of stuff ;) And I know it does IRL, I know the mythical story about the maze.
@OrangeLightUk A microwave (previously a toaster) running dual Pentium 1, 133MHz processors, 64KB of RAM, a whopping 120MB HDD, with BeeOS as the host OS. The server's software is Unicorn Blood 4.0, as stated by VoxelGOD.
fullwall is one of the best Bukkit plugin developers and yet he hasn't gotten enough recognition. Thanks to VoxelBox for giving him his much-deserved fame!
Ok the voxel box makes amazing programs and they think this is amazing. I will believe them. BTW thanks for letting me know about -1 stairs with voxel sniper the fun I will have with them!!!!
For the more nerdy out there, here is the reason why the NPC causes no lag spike. The maze itself is deterministic (behaves predictably because it never changes). The NPC's job is to find the shortest distance between two points, and since the maze is deterministic, the path is NP-Complete (O(n2)) because it can be completed in polynomial time.
If there was any lag spike, it would be if it solved the maze before taking the path. But it would be minimal. Well done by the programmer.
but you dont see, a human doing that maze, and even the humans that made the maze, did not notice the minor detail of a cobblestone not visible from the exit. You might win if you get to the top but hed beat you at the bottom and notice the block
Just keep your hand on the right wall and youll eventually make it
powerenslaver 1 day ago
wouldn't a maze like that eventually always be solved as long as you didn't go backwards?
Sirsipeed 1 day ago
next thing you know they stared finding diamonds and taking over every server..... even israphel
got murdered.
kkkbuta5 3 days ago
I, for one, welcome our new AI overlords.
ilazernerd 4 days ago
What happens if you place a villager NPC in that maze and then turn rain on?
TheSanchezGaming 1 week ago
@TheSanchezGaming
He would flee. Lolz
crazywinner123 1 week ago
world edit can make this maze in 5 seconds
177577 1 week ago
OH MY GOD
qwertyuiop1029ish 1 week ago
@909Artix You're wrong, it was an NPC. You really don't know how this plugin works, do you?
Sankoomen 1 week ago
this is incredible
robotonsteroids 1 week ago
Thats pretty amazing indeed :)
Intosia 2 weeks ago in playlist Educational/How-To
you got to the end already?
labrat: yea.
now go back
labrat: -_-
*goes on top of maze*
robloxcoconut219 2 weeks ago 14
thats just scary
xDranZx 2 weeks ago
What. The. FUCK
mop371 2 weeks ago
Find the word "The" from 2:53-3:07
ninjatyrese 2 weeks ago
An example of a pathfinding algorithm would be one that simulates possible paths that this npc could take, then checks if the path reaches the end point, but it has to also have a clear line of sight with the endpoint. For example, if it didnt have a line of sight, it would think its reached the end but it might actualy be on the other side of a 1 block wall. In addition it could easily compare path lengths to find the shortest route.
vodkacannon 2 weeks ago
@vodkacannon simulating possible paths take a lot of memory :). Line of sight is not something that AI is using for anything inside the virtual world because you know they are the agents into the matrix and have unlimited access.
onixbg 2 weeks ago
shoud be tried with the new npc villager
InTheMountainAir 3 weeks ago
This must be tried with a 1.2 zombie
ColonyGames 1 month ago
This has been flagged as spam show
Hamachi server! Login: Unluckycraft Password:123 Server IP:5.90.216.90:25565
GrilledCow 1 month ago
do you even know what NPC means? it means Not Playable Character. and it was a PLAYER walking in the maze
909Artix 1 month ago
@909Artix No, it was an NPC (ie not being controlled by a player but instead being controlled by the computer) from the 'Citizens' plugin for bukkit. If you have minecraft and a private bukkit server to mess about on I'd recommend installing it and giving it a go, it's really impressive what the developers have been able to do. You might have to wait for a 1.1 update though, I think they're still on server version 1.0.1.
GeekyGamer93 1 month ago
@909Artix NPC could also be referred to as "Non-Player Character" Which labrat, was being controlled by the server and the Citizens plugin, and not a real person.
Sorrow316 1 month ago
@909Artix no old npc's looked like players but were combuter codedly controlled aith ai
xDranZx 2 weeks ago
LabRat beat me to it :(
MrDirective 1 month ago
I got it yesterday it's brilliant
G1fan1998 1 month ago
OMG!!!!!!!!!!
yeoming1289 1 month ago
Really impressive if that's not a fake. Will definitely try it out
Arkounay 2 months ago
Does anyone tried it out? I'm really curious it really works as well it worked in the video.
RatmanXX 2 months ago
The only problem I get is the fact nothing moves when I make them....
BaRzRaMpAgE 2 months ago
wtf is a .shematic file? can someone please help me how to install this maze because I don't get any folder when I downloadi t
JokucFromBFME 2 months ago
@JokucFromBFME its a schematic that can be used with MCedit, just get MCedit (free) go into it, click import and you can then paste it into your world, easy :)
kbec789 2 months ago
@kbec789 :( I can't install any mods on my Minecraft anymore idk why. I know how to do it and it worked just fine before but now when I re-installed windows everything is screwed up and I get a bluescreen every time I try to install a mod. Eaven modloader wtf
JokucFromBFME 2 months ago
@JokucFromBFME MCEdit is not a mod its a program that runs sepreate to minecraft.
auburnbull 1 month ago
if you can have herobrine follow you around like a bodyguard what would be it's lines? something like:
-Y'know I usually do this to scare ppl...
Me: Really?
-Yeah, but they usually die when i try to greet them...
Me: Are you death?
-Maybe...never thought about it....
Me:....wow....
ricardorp12345 3 months ago
I want kupokupo tocfollow me around :P
CaptinJellyBeanz 3 months ago
@VoxelBoxVideos How the hell did you get the NPC to do that of what it did in the video?! Please Reply!
MEGAF4IL 3 months ago 2
i can tell b y the way you speak your as amazed as i am wow think of what you can do next...... npcs with guns! :D
Galvantula1 3 months ago
@Galvantula1 Actually i think that's already done :D
pepsi596 3 months ago
Thanks voxelbox, I am having so much fun with citizens on my server.
AddicusT 4 months ago
6 people fear our new AI overlords! I for one welcome them in Minecraft!
Dracolix 4 months ago
AMAZED, i get it
JLPMinecraft 4 months ago
Have you tried an interactive maze? If pressure plates change the best path I wonder how it will react?
onecommentaccount 4 months ago
@jon99977 yes he can jump because he jumped up onto the top of the maze using the cobble :D
geppy10 4 months ago
It's actually a player trolling everyone...
macaco12369 4 months ago
do you guy have any social life?, because when you have enough time to watch a npc walk around for 12 hours?
thereview9823 4 months ago
@thereview9823 The NPC only walked around for 12 minutes...
RedLyonx3Productions 4 months ago 2
@thereview9823 Do you have any education?, because when you have enough time to write a comment about a npc walk around for 12 MINUTES?
X1107450X 4 months ago
This has been flagged as spam show
@thereview9823 Are you fucking stupid?
And "because when you have enough time to watch a npc walk around for 12 hours?" What kind of fucking question is this? I don't even fully understand it.
urheroisme 4 months ago
@thereview9823 12 minutes, not hours. Also, if he likes to talk to other people who like to play minecraft, how is that different than people who like to go out and get drunk together? Shouldn't be so narrow minded or arrogant.
MetalSmith 4 months ago
the balack sqare is a ded end
tominbig 4 months ago
6 rats died before labrat and the parents didn't like the video
CONSOLEwreckage 4 months ago
Impressive use of pathfinding, never expected it on this scale and least of all from such a great server as VoxelBox. Nice work!
fullwall25 4 months ago in playlist Liked
Comment removed
fullwall25 4 months ago
Nobody realized that those seconds were about twice as fast as a normal second?
PartyPinkie 4 months ago
So I'm guessing they haven't figured out how to make the AI jump over gaps yet.
Aclurace 4 months ago
You were aMAZEd
Hehehe
1337sparksftw 4 months ago
cool
yelby2 4 months ago
that is insanely awesome
GamingIdiot42Neo 4 months ago
Congratz With Your 50th vid!
TheZrial 4 months ago
Also, if you are looking for lag effects, you would expect there to only be additional lag right at the very beginning, immediately after you give the citizen instructions as to his destination.
I would expect it to be similar to the lag from a ball replace brush of a similar diameter as either the distance from start to destination, or the maximum range of the citizen's calculations, whichever is shorter.
mysticdaisy 4 months ago
First of all, the plugin is very sleek and well made and user friendly, and it works. Fullwall did a great job.
BUT honestly, shortest path finding in a gridded world is pretty trivial to program. You simply "flood" the world, starting from your destination, and spreading in every direction possible, until the flood reaches you. Each voxel remembers where it flooded from, and then the first to hit you traces the path back. This is a pretty standard project in programming classes.
-Gavjenks
mysticdaisy 4 months ago
This could be used very well as a tour guide in a massive server.
HaxIsMyName 4 months ago 2
@HaxIsMyName good idea :D
CartoonGaz 4 months ago
i have gotten this plugin for my server and how do i make him do this?
MinecraftBroVideos 4 months ago
AI is taking over minecraft as well... O.O
TheAverageChannelx 4 months ago
I USE THIS TO DO HARD MAZE!
ZeroCraft4000 4 months ago
this is so cool. not so cool when ridgedog names one GettheModpack and sets it on you though :O :L
TheTiimmayy 4 months ago
Where is his Aperture Science Test Subject Official Uniform!? Contact the robot manager!!!1
randomperson8800 4 months ago
Are you guys ever gonna show Gavjenk's brain (redstone learning system) on video? Cool as hell to look at but I find it almost impossible to understand.
Wildcard720 4 months ago
@Wildcard720 I didn't build a brain. i have only built one backpropagation modular neuron. Haven't gotten around to hooking it up to a full network of them yet. I should do that.
mysticdaisy 4 months ago
Adding this to my favorites so I remember this plugin :)
MrBraydogg 4 months ago
NPCS WILL DEVELOP AN INTELLIGENCE AND TAKE OVER THE WORLD OF MINECRAFT AND THEN OVER OUR WORLD
kabakois 4 months ago 157
@kabakois ahhhhhhhhhhhhhhhhhhhhhhhhh where all going to DIE
stickmanfightcool 2 months ago
@kabakois Just like Smith did in the matrix
carlosdlguerra 6 days ago in playlist Educational/How-To
@kabakois Minecraft is out world.
MrThenameisgrant 1 day ago
I thought the icon was a Minecraft circuit board
KuuJoe 4 months ago
Impressive. Would be more impressive if the thing was smart enough to realize it could hop over the 1 wide gaps in the maze wall to reach the center rather than going around in a loop and hopping in.
roboticaust 4 months ago
at 21:20 hours today Minecraft became self aware. God help us all.
andysim232 4 months ago 93
Minecraft: Pushing the frontiers of Architecture, Artificial intelligence and computer logic gate design since 2009.
bigglessy 4 months ago
you guys never accepted my request to join, it was like 2 months ago
gamezonic 4 months ago
Truley incredible!
mattcred 4 months ago
Cool! Now put him in the nether and put the exit portal somewhere that would be technical a suicide mission to get to.
BlockyHenry 4 months ago
HERE IS HOW IT WORKS:
Looking at what the bot is doing, I can tell that this bot works in actually a pretty simple way. The way it works is by the principle that you can get through any maze ever created(without loops) by just taking a right at every turn. If you look at the bot, that's how he traversed it at the ground level. When he exited the maze, it just took some rights, then found the block, however after that, the coders did some magic to make it work. That's my theory on how it works.
redstonetut 4 months ago
@redstonetut No....just no....
Brian2one0 4 months ago
@redstonetut are you dyslexic? or just retarded? possibly both...
hypn0tickbr 4 months ago
um the plugin is cool........but what about that EPIC maze, no dead ends?!?!?!?! How is that even possible. How long did it take?
SteelGamingMC 4 months ago
@SteelGamingMC I've seen those before, you have to be good at math/architecture, but it can be done.
theoriginalhegs94 4 months ago
One word: EPIC!!!!!
TWillB 4 months ago 2
i got lost in my cave today, please dont replace me
fressfisch 4 months ago 6
what would happend if the maise hade dead ends ??
joejoe4games 4 months ago
@joejoe4games maze*
ThaKiDD0player 4 months ago
Impressive patting! (now if only these guys had been at work in Starcraft 2...)
As cool as it was that Labrat went on top of the maze, imagine how much more mind-blowing it would have been if he'd made it to the center without dropping back down in the maze!
Gasfiend 4 months ago
automated city tours???
Z0DIACV2 4 months ago 3
Wow. That was impressive!
Hawtsaus 4 months ago
cant you use that to make a supercomputer?
dendummedreng 4 months ago
how did the plugin guide him? or was that just an character controlled by the server?
TheMinecraft55 4 months ago
@TheMinecraft55 Citizens is a plugin. It has a built-in path-finding, which is the name of the system in a program that actually helps AI's, in this case the NPC, help find a way from A to B, while taking in consideration any obstacle between these two points. As this video just showed, this plugin has an amazing path-finding system, which not many people manage to accomplish
debeste95 4 months ago
This has been flagged as spam show
At first I was like; ಠ_ಠ
But then I was like; ಠ_ರೃ
SuperMegaComedyGuy 4 months ago
He was aMazed :P
gustasirrom 4 months ago
is that whack a mole above the maze ?
MegaValkyr 4 months ago
@Acr3tion but that could take FOREVER! the NPC calculated the shortest path out and into the maze.
invinciblemode 4 months ago
just follow your left wall and you`ll find the exit. not as hard as it looks like, really.. :P
Acr3tion 4 months ago
@Acr3tion That makes no sense. That is not the way path-finding works and absolutely not the way a real programmer would solve this problem ;)
debeste95 4 months ago
@debeste95 IRL it works perfectly
Acr3tion 4 months ago
@Acr3tion IRL it does, but this video is about the programmed path-finding, so it doesn't really go witht his kind of stuff ;) And I know it does IRL, I know the mythical story about the maze.
debeste95 4 months ago
@Acr3tion In a maze with no dead-ends and looping paths, that doesn't work very well. You can easily be placed in a pocket with a loop in it.
tantamounted 4 months ago
what are the voxelbox server specs
OrangeLightUk 4 months ago
@OrangeLightUk A microwave (previously a toaster) running dual Pentium 1, 133MHz processors, 64KB of RAM, a whopping 120MB HDD, with BeeOS as the host OS. The server's software is Unicorn Blood 4.0, as stated by VoxelGOD.
VyewVyew 4 months ago
@OrangeLightUk its over 9000!!
celtic4everscot 4 months ago
that was awesome !
NIKSEEN 4 months ago
@VoxelBoxVideos You should make a video of your setup!
Fekillix 4 months ago
that, was impressive...
TheWritersMind 4 months ago
WHAT THE FUU....
Sell this to Microsoft, Bill Gates will be your bitch :P
MultiMatinek 4 months ago
My mind is blown by this!
MuppetNicke 4 months ago
funny, i've only ever used citizens to show off my admins, or have a greeter at the spawn point holding a map lol
HeresvilleMinecraft 4 months ago
now make a 3d glass maze with height differentating.
MrPandawesome 4 months ago
they have done the best work on npc's, notch... Learn something from them pls
10rebelspirit01 4 months ago
Holy Monkey Poop!
xxECG 4 months ago
I FOUND A DEAD END...... I got back to the start...
Spikestuff95 4 months ago
did he get some voxelcheese when he finished?
HiddenNinjaInTheSky 4 months ago
This has been flagged as spam show
That is god damn awesome
TheBogangle 4 months ago
fullwall is one of the best Bukkit plugin developers and yet he hasn't gotten enough recognition. Thanks to VoxelBox for giving him his much-deserved fame!
aPunchable 4 months ago 279
@aPunchable Thanks to you and fullwall for making this epic plugin! To the other commenters: can we give this man a thumbs up?!
VoxelBoxVideos 4 months ago 142
The npc looks like its NOCLIPING
Michaeljustarock 4 months ago
say it with me children! THAT'S AMAZING!!
CassieBearuh 4 months ago
uploadd your .minecraft files :D
you are so epic
heel124 4 months ago
Anything is possible in Minecraft, you out of all people should know this.
MyPenguinboy 4 months ago
Dang....
Danokozmo 4 months ago
If I were to do that.., I would just fly out.., if anyone apposes me I would hit them with lightning... Lol
bobaethan 4 months ago
Oh wow
bobaethan 4 months ago
That is amazing
cheesywonderer 4 months ago
Ok the voxel box makes amazing programs and they think this is amazing. I will believe them. BTW thanks for letting me know about -1 stairs with voxel sniper the fun I will have with them!!!!
nightogre1 4 months ago
It would be awesome to give this path finding to those useless wolves....
Mcor4472 4 months ago
The guy who made that plugin must feel pretty proud of himself.
lapisdecera1 4 months ago
Skynet online.
zackandtyproductions 4 months ago
Lol so what hes trying to say is we will always lose against the pc...
gamemak0r 4 months ago
Now if u where to try to do this with the NPCs from 1.9 it would take hours on end
913forward 4 months ago
@913forward Nah, they just wold get stuck and never finish it. :P
-Deamon5550
TheeDeamon 4 months ago
Labrat is aMAZEing!
Aguywithaname42 4 months ago
For the more nerdy out there, here is the reason why the NPC causes no lag spike. The maze itself is deterministic (behaves predictably because it never changes). The NPC's job is to find the shortest distance between two points, and since the maze is deterministic, the path is NP-Complete (O(n2)) because it can be completed in polynomial time.
If there was any lag spike, it would be if it solved the maze before taking the path. But it would be minimal. Well done by the programmer.
projectfinale 4 months ago
that is quite amazing.
youlikeitayye 4 months ago
the creation is too intelligent! its gonna take over your world
ultraNewt 4 months ago
AMAZEING
Rioluke88 4 months ago
yes but can it go though doors
TheHiddenbomb 4 months ago
Huh. So that's what Ridge was talking about last night that was so awesome. XD
LaoShanDestroyer 4 months ago
THIS IS FREAKING AWESOME! (no kidding!)
Youloeka 4 months ago
y doesnt notch just get permission to use this mod in minecraft and he could release 1.9 like wat... 1 month earlyer?
iamtottallyawesome 4 months ago
@iamtottallyawesome Feature freeze + Final release is coming very soon, 19 nov!
Youloeka 4 months ago
can you put a schematic of the wack a mole game up
jordan177963 4 months ago
@jordan177963 Its hidden in the adventure map.
TheeDeamon 4 months ago
Pure MC scientists.
sowhak511 4 months ago
As FPSRussia would say... "That was pretty Fucking awesome!"
CtDMrHAT 4 months ago 93
This just goes to show you:
technology is going to overtake humans because humans don't notice minor details such as that and computers do.
TchicVG 4 months ago
@TchicVG no. cause once on top, i would get that faster. just jump :P
iamtottallyawesome 4 months ago
@iamtottallyawesome
but you dont see, a human doing that maze, and even the humans that made the maze, did not notice the minor detail of a cobblestone not visible from the exit. You might win if you get to the top but hed beat you at the bottom and notice the block
TchicVG 4 months ago
Minecraft AI O.o
AnewAaron 4 months ago
My npc doen't jump D=
Tkwk33 4 months ago
wow..... thats just.... wow.
Epic pathfinding, especially that ONE cobblestone block!
ultra695 4 months ago 3
talk about mind blowing
darkomegasonic 4 months ago
Amazing!
Anyone? No?
Ok......
Atlantispy 4 months ago
did this take 12 minutes or 12 hours?
Tyirel 4 months ago
@Tyirel -.-
DerpZombie 4 months ago
@DerpZombie im serious! at parts i was thinking "oh its hours" but near the end he was going normal speed and i thought "uhh...minutes???"
Tyirel 4 months ago
Why doesn't it jump across the top blocks straight to the center? That would be fastest.
Jeff3210 4 months ago
@Jeff3210 maybe it doesnt path 2 block jumps
Iburinoc 4 months ago
@Jeff3210
I would assume it doesn't jump or perhaps what Iburinoc said it can only register one jump in path finding.
copper4eva 4 months ago
fucking insane
35banister 4 months ago
Now you need to find out if it can do this with a z axis.
GamersWithGuns 4 months ago
i'm a software developer and a few months ago i had to implement a custom pathfinding algorithm...
it was the hardest thing i've ever done and i thought it would melt my brain before i'm done... what i just watched is.. well.. aMAZEing!
DaSheep 4 months ago
More Videos
magicbonez 4 months ago
Ridgedog is a badass
MrLunkie 4 months ago 2
could you give some of the worlds? like a description link of your worlds so we cantry your inventions
kaoseffect1 4 months ago
What is the type of the NPC "Lab Rat"?
FretfulRogueHD 4 months ago