Class SidebarLineHandler
java.lang.Object
net.megavex.scoreboardlibrary.implementation.sidebar.line.SidebarLineHandler
-
Constructor Summary
ConstructorsConstructorDescriptionSidebarLineHandler(@NotNull net.megavex.scoreboardlibrary.implementation.commons.LineRenderingStrategy strategy, @NotNull LocaleLineHandler localeLineHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidhide(Collection<org.bukkit.entity.Player> players) @NotNull LocaleLineHandler@NotNull Set<org.bukkit.entity.Player> players()voidsetLine(int line, net.kyori.adventure.text.Component renderedLine) voidshow(Collection<org.bukkit.entity.Player> players) voidupdateScore(int line) void
-
Constructor Details
-
SidebarLineHandler
public SidebarLineHandler(@NotNull @NotNull net.megavex.scoreboardlibrary.implementation.commons.LineRenderingStrategy strategy, @NotNull @NotNull LocaleLineHandler localeLineHandler)
-
-
Method Details
-
localeLineHandler
-
players
-
updateScores
public void updateScores() -
updateScore
public void updateScore(int line) -
setLine
public void setLine(int line, net.kyori.adventure.text.Component renderedLine) -
show
-
hide
-