Class SingleLocaleSidebar
java.lang.Object
net.megavex.scoreboardlibrary.implementation.sidebar.AbstractSidebar
net.megavex.scoreboardlibrary.implementation.sidebar.SingleLocaleSidebar
- All Implemented Interfaces:
net.megavex.scoreboardlibrary.api.sidebar.Sidebar,PlayerDisplayable
-
Field Summary
Fields inherited from interface net.megavex.scoreboardlibrary.api.sidebar.Sidebar
MAX_LINES -
Constructor Summary
ConstructorsConstructorDescriptionSingleLocaleSidebar(@NotNull ScoreboardLibraryImpl scoreboardLibrary, int size, @NotNull String objectiveName, @NotNull Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable LocaleLineHandleraddPlayer0(@NotNull org.bukkit.entity.Player player) protected voidforEachLineHandler(@NotNull Consumer<LocaleLineHandler> consumer) protected @NotNull Set<org.bukkit.entity.Player> @Nullable Localelocale()protected @Nullable LocaleLineHandlerremovePlayer0(@NotNull org.bukkit.entity.Player player) Methods inherited from class net.megavex.scoreboardlibrary.implementation.sidebar.AbstractSidebar
addPlayer, close, closed, display, line, line, lines, maxLines, objectiveName, packetAdapter, players, refreshLine, refreshTitle, removePlayer, scoreboardLibrary, taskQueue, tick, title, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.megavex.scoreboardlibrary.api.sidebar.Sidebar
addPlayers, clearLines, line, refreshLines, removePlayers
-
Constructor Details
-
SingleLocaleSidebar
public SingleLocaleSidebar(@NotNull @NotNull ScoreboardLibraryImpl scoreboardLibrary, int size, @NotNull @NotNull String objectiveName, @NotNull @NotNull Locale locale)
-
-
Method Details
-
locale
-
internalPlayers
- Specified by:
internalPlayersin classAbstractSidebar
-
addPlayer0
@Nullable protected @Nullable LocaleLineHandler addPlayer0(@NotNull @NotNull org.bukkit.entity.Player player) - Specified by:
addPlayer0in classAbstractSidebar
-
removePlayer0
@Nullable protected @Nullable LocaleLineHandler removePlayer0(@NotNull @NotNull org.bukkit.entity.Player player) - Specified by:
removePlayer0in classAbstractSidebar
-
forEachLineHandler
- Specified by:
forEachLineHandlerin classAbstractSidebar
-