Interface SidebarComponent
public interface SidebarComponent
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends SidebarComponent>
@NotNull SidebarComponentanimatedComponent(@NotNull SidebarAnimation<T> animation) static <T extends net.kyori.adventure.text.ComponentLike>
@NotNull SidebarComponentanimatedLine(@NotNull SidebarAnimation<T> animation) static @NotNull SidebarComponentstatic @NotNull SidebarComponent.Builderbuilder()voiddraw(@NotNull LineDrawable drawable) static <T extends net.kyori.adventure.text.ComponentLike>
@NotNull SidebarComponentdynamicLine(@NotNull Supplier<T> lineSupplier) static @NotNull SidebarComponentstaticLine(@NotNull net.kyori.adventure.text.ComponentLike line) static @NotNull SidebarComponentstaticLine(@NotNull net.kyori.adventure.text.ComponentLike line, @NotNull ScoreFormat scoreFormat)
-
Method Details
-
staticLine
@NotNull static @NotNull SidebarComponent staticLine(@NotNull @NotNull net.kyori.adventure.text.ComponentLike line) -
staticLine
@NotNull static @NotNull SidebarComponent staticLine(@NotNull @NotNull net.kyori.adventure.text.ComponentLike line, @NotNull @NotNull ScoreFormat scoreFormat) -
blankLine
-
dynamicLine
@NotNull static <T extends net.kyori.adventure.text.ComponentLike> @NotNull SidebarComponent dynamicLine(@NotNull @NotNull Supplier<T> lineSupplier) -
animatedLine
@NotNull static <T extends net.kyori.adventure.text.ComponentLike> @NotNull SidebarComponent animatedLine(@NotNull @NotNull SidebarAnimation<T> animation) -
animatedComponent
@NotNull static <T extends SidebarComponent> @NotNull SidebarComponent animatedComponent(@NotNull @NotNull SidebarAnimation<T> animation) -
builder
-
draw
-