Class ScoreboardTeamImpl
java.lang.Object
net.megavex.scoreboardlibrary.implementation.team.ScoreboardTeamImpl
- All Implemented Interfaces:
net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
public class ScoreboardTeamImpl
extends Object
implements net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
Constructor Summary
ConstructorsConstructorDescriptionScoreboardTeamImpl(@NotNull TeamManagerImpl teamManager, @NotNull String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayer(@NotNull org.bukkit.entity.Player player) voidchangeTeamDisplay(@NotNull org.bukkit.entity.Player player, @NotNull TeamDisplayImpl oldTeamDisplay, @NotNull TeamDisplayImpl newTeamDisplay) @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay@NotNull TeamDisplayImpl@NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplaydisplay(@NotNull org.bukkit.entity.Player player) voiddisplay(@NotNull org.bukkit.entity.Player player, @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay teamDisplay) @NotNull Map<org.bukkit.entity.Player, TeamDisplayImpl> @NotNull Stringname()@NotNull net.megavex.scoreboardlibrary.implementation.packetAdapter.team.TeamsPacketAdaptervoidremovePlayer(@NotNull org.bukkit.entity.Player player) @NotNull TeamManagerImpl
-
Constructor Details
-
ScoreboardTeamImpl
public ScoreboardTeamImpl(@NotNull @NotNull TeamManagerImpl teamManager, @NotNull @NotNull String name)
-
-
Method Details
-
teamManager
- Specified by:
teamManagerin interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
name
- Specified by:
namein interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
defaultDisplay
- Specified by:
defaultDisplayin interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
display
@NotNull public @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay display(@NotNull @NotNull org.bukkit.entity.Player player) - Specified by:
displayin interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
display
public void display(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay teamDisplay) - Specified by:
displayin interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
createDisplay
@NotNull public @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay createDisplay()- Specified by:
createDisplayin interfacenet.megavex.scoreboardlibrary.api.team.ScoreboardTeam
-
packetAdapter
@NotNull public @NotNull net.megavex.scoreboardlibrary.implementation.packetAdapter.team.TeamsPacketAdapter packetAdapter() -
displayMap
-
addPlayer
public void addPlayer(@NotNull @NotNull org.bukkit.entity.Player player) -
removePlayer
public void removePlayer(@NotNull @NotNull org.bukkit.entity.Player player) -
changeTeamDisplay
public void changeTeamDisplay(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull TeamDisplayImpl oldTeamDisplay, @NotNull @NotNull TeamDisplayImpl newTeamDisplay)
-