I figured it out, lol. Just have to do
Java.type("net.ccbluex.liquidbounce.utils.aiming.RotationFindingKt");
a.k.a.: add [filename]Kt
at the end of the type cause that's just how Kotlin works.
I figured it out, lol. Just have to do
Java.type("net.ccbluex.liquidbounce.utils.aiming.RotationFindingKt");
a.k.a.: add [filename]Kt
at the end of the type cause that's just how Kotlin works.
There are these functions in LB source code that I want to access from a script, but since they're not Java/Kotlin classes, so how do I use them? I guess I could rewrite them in js, but bleh.
Example: raytraceBlock from https://github.com/CCBlueX/LiquidBounce/blob/nextgen/src/main/kotlin/net/ccbluex/liquidbounce/utils/aiming/RotationFinding.kt