Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class PolyglotScript(val language: String, val file: File, val debugOptions: ScriptDebugOptions = ScriptDebugOptions()) : AutoCloseable
Link copied to clipboard
annotation class ScriptApiRequired

Marks a class, function or property as part of the LiquidBounce Script API. It might not serve a purpose other than documentation.

Link copied to clipboard
data class ScriptDebugOptions(val enabled: Boolean = false, val protocol: DebugProtocol = DebugProtocol.INSPECT, val suspendOnStart: Boolean = false, val inspectInternals: Boolean = false, val port: Int = 4242)
Link copied to clipboard

The ScriptManager allows to extend the client by loading supported scripts at runtime. Scripts can be written in various languages when installed through GraalVM and can interact with the client through the Script API.

Functions

Link copied to clipboard
inline fun <T> Value.asArray(): Array<T>
Link copied to clipboard
Link copied to clipboard
fun Value.asByteArray(): ByteArray
Link copied to clipboard
fun Value.asCharArray(): CharArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Value.asIntArray(): IntArray
Link copied to clipboard
fun Value.asLongArray(): LongArray
Link copied to clipboard
Link copied to clipboard
inline fun <T> Value.asType(): T