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 Details

    • ScoreboardTeamImpl

      public ScoreboardTeamImpl(@NotNull @NotNull TeamManagerImpl teamManager, @NotNull @NotNull String name)
  • Method Details

    • teamManager

      @NotNull public @NotNull TeamManagerImpl teamManager()
      Specified by:
      teamManager in interface net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
    • name

      @NotNull public @NotNull String name()
      Specified by:
      name in interface net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
    • defaultDisplay

      @NotNull public @NotNull TeamDisplayImpl defaultDisplay()
      Specified by:
      defaultDisplay in interface net.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:
      display in interface net.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:
      display in interface net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
    • createDisplay

      @NotNull public @NotNull net.megavex.scoreboardlibrary.api.team.TeamDisplay createDisplay()
      Specified by:
      createDisplay in interface net.megavex.scoreboardlibrary.api.team.ScoreboardTeam
    • packetAdapter

      @NotNull public @NotNull net.megavex.scoreboardlibrary.implementation.packetAdapter.team.TeamsPacketAdapter packetAdapter()
    • displayMap

      @NotNull public @NotNull Map<org.bukkit.entity.Player,TeamDisplayImpl> 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)