setPlayerVolume

abstract fun setPlayerVolume(playerId: UUID, volume: Double)

Sets the volume for the given player.

Shorthand for setVolume with the "source_<playerId>" line name.

Parameters

volume

in range 0.0..2.0, where 1.0 is the original volume.