SourceLine

interface SourceLine

Represents a base source line.

Inheritors

Functions

Link copied to clipboard
abstract fun getDefaultVolume(): Double
Gets the default volume level for the source line.
Link copied to clipboard
@NotNull
abstract fun getIcon(): @NotNull String
Gets the icon associated with the source line.
Link copied to clipboard
@NotNull
abstract fun getId(): @NotNull UUID
Gets the source line's unique identifier.
Link copied to clipboard
@NotNull
abstract fun getName(): @NotNull String
Gets the name of the source line.
Link copied to clipboard
@Nullable
abstract fun getPlayers(): @Nullable Collection<McGameProfile>
Gets the players associated with the source line.
Link copied to clipboard
@NotNull
abstract fun getTranslation(): @NotNull String
Gets the translation key associated with the source line.
Link copied to clipboard
open fun getWeight(): Int
Gets the weight of the source line.
Link copied to clipboard
abstract fun hasPlayers(): Boolean
Checks if the source line can contain players.