Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

K

karkov

@karkov
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Accessing non-class kotlin functions
    K karkov

    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.

    ScriptAPI

  • Accessing non-class kotlin functions
    K karkov

    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

    ScriptAPI
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups