Builder

Interface for building a server source lines.

Parameters

T

the type of the source line to build.

Functions

Link copied to clipboard
abstract fun build(): T

Builds and registers the source line.

Link copied to clipboard
abstract fun setDefaultVolume(defaultVolume: Double): BaseServerSourceLine.Builder<T>

Sets the line's default volume.

Link copied to clipboard
abstract fun withPlayers(withPlayers: Boolean): BaseServerSourceLine.Builder<T>

Sets whether the line should include players.