Navigation

    CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to use pathutils in a script?

    ScriptAPI
    4
    5
    87
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Soulplexis
      Soulplexis last edited by

      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

      A yorik100 exit scammed 3 Replies Last reply Reply Quote 0
      • A
        Aftery @Soulplexis last edited by Aftery

        @soulplexis lol wtf
        edit: just use it dno why you needed to ask

        1 Reply Last reply Reply Quote 0
        • yorik100
          yorik100 @Soulplexis last edited by yorik100

          @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
          77aefe72-1ed4-4b97-a0d1-fa5676414957-image.png
          Which flags vanilla antiphase (bruh!)

          Soulplexis 1 Reply Last reply Reply Quote 0
          • Soulplexis
            Soulplexis @yorik100 last edited by

            @yorik100 bruh

            1 Reply Last reply Reply Quote 0
            • exit scammed
              exit scammed @Soulplexis last edited by

              @soulplexis do you mean importing it? if so:

              var PathUtils = Java.type("blah.blah.blah.PathUtils"); //where the class file is placed in
              1 Reply Last reply Reply Quote 0
              • First post
                Last post