How to use pathutils in a script?
-
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
-
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
@soulplexis lol wtf
edit: just use it dno why you needed to ask -
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
@soulplexis said in How to use pathutils in a script?:
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
PathUtils likes to go thru walls for no reasons afaik, it behaves like that

Which flags vanilla antiphase (bruh!) -
@soulplexis said in How to use pathutils in a script?:
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
PathUtils likes to go thru walls for no reasons afaik, it behaves like that

Which flags vanilla antiphase (bruh!)@yorik100 bruh
-
this code in teleport for example:
PathUtils.findBlinkPath(endX, endY, endZ).forEach(vector3d -> { mc.getNetHandler().addToSendQueue(classProvider.createCPacketPlayerPosition(vector3d.x, vector3d.y, vector3d.z, true)); thePlayer.setPosition(endX, endY, endZ); });i wanna use this to make a new teleport-hit that doesnt require you to be falling in order to use it
@soulplexis do you mean importing it? if so:
var PathUtils = Java.type("blah.blah.blah.PathUtils"); //where the class file is placed in
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login