addGradientLine

abstract fun addGradientLine(text: Component, start: TextColor, end: TextColor): SurfScoreboardBuilder

Adds a gradient line to the SurfScoreboardBuilder. The gradient color starts with the specified start color and gradually transitions to the specified end color.

Return

the SurfScoreboardBuilder instance with the added gradient line

Parameters

text

the text of the gradient line

start

the start color of the gradient

end

the end color of the gradient