addAnimatedLine

abstract fun addAnimatedLine(animation: SidebarAnimation<SidebarComponent>): SurfScoreboardBuilder

Adds an animated line to the SurfScoreboardBuilder.

Return

the SurfScoreboardBuilder with the added animated line

Parameters

animation

the animation to be added as an animated line

Throws

if animation is null


abstract fun addAnimatedLine(frames: MutableList<Component>): SurfScoreboardBuilder

Adds an animated line to the scoreboard. The animated line will display a series of frames, where each frame is a component. The frames will be displayed consecutively in an animated manner.

Return

the SurfScoreboardBuilder instance

Parameters

frames

the list of frames to display as an animated line