PrismarineJS / mineflayer-navigate

mineflayer plugin which gives bots a high level 3d navigating API using A*
59 stars 22 forks source link

TypeError #27

Closed MrSonicMaster closed 8 years ago

MrSonicMaster commented 8 years ago

When i try to run this command: bot.navigate.to({ x: 539, y: 40, z: -22 })

i get this error: TypeError: end.floored is not a function

What do i do to fix it?

MrSonicMaster commented 8 years ago

Ahhh ok i need to convert the object into vec3

just in case anobody wants to know who doesnt already know you can do this: bot.navigate.to(mineflayer.vec3({ x: x, y: y z: z }));