Class PlayerDependantLocaleSidebar
java.lang.Object
net.megavex.scoreboardlibrary.implementation.sidebar.AbstractSidebar
net.megavex.scoreboardlibrary.implementation.sidebar.PlayerDependantLocaleSidebar
- 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
ConstructorsConstructorDescriptionPlayerDependantLocaleSidebar(@NotNull ScoreboardLibraryImpl scoreboardLibrary, int maxLines) -
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, packetAdapter, players, 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, removePlayers
-
Constructor Details
-
PlayerDependantLocaleSidebar
public PlayerDependantLocaleSidebar(@NotNull @NotNull ScoreboardLibraryImpl scoreboardLibrary, int maxLines)
-
-
Method Details
-
locale
-
internalPlayers
- Specified by:
internalPlayersin classAbstractSidebar
-
forEachLineHandler
- Specified by:
forEachLineHandlerin 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
-