kotlin
object AudioServerTransportLoader-owned transport. Paper deliberately has no full-player transport.
object AudioServerTransportLoader-owned transport. Paper deliberately has no full-player transport.
class RemoteAudioHandle internal constructor(@Volatile internal var player: ServerPlayer, source: AudioSource, options: AudioOptions) : AudioHandleRemote state is client-confirmed; refresh requests a fresh snapshot.
internal fun rebind(current: ServerPlayer)Re-points the handle after a respawn or dimension change replaced the player instance.
fun playPlayerAudio(player: ServerPlayer, source: AudioSource, options: AudioOptions = AudioOptions()): RemoteAudioHandleFull remote playback requires a compatible Katton mod client.