Class Team

java.lang.Object
org.geysermc.geyser.scoreboard.Team

public final class Team extends Object
  • Constructor Details

  • Method Details

    • addEntities

      public Set<String> addEntities(String... names)
    • removeEntities

      public Set<String> removeEntities(String... names)
      Returns:
      all removed entities from this team
    • hasEntity

      public boolean hasEntity(String name)
    • setName

      public Team setName(String name)
    • setPrefix

      public Team setPrefix(String prefix)
    • setSuffix

      public Team setSuffix(String suffix)
    • getDisplayName

      public String getDisplayName(String score)
    • markUpdated

      public void markUpdated()
    • shouldUpdate

      public boolean shouldUpdate()
    • prepareUpdate

      public void prepareUpdate()
    • getUpdateType

      public UpdateType getUpdateType()
    • getCachedUpdateType

      public UpdateType getCachedUpdateType()
    • setUpdateType

      public Team setUpdateType(UpdateType updateType)
    • isVisibleFor

      public boolean isVisibleFor(String entity)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getScoreboard

      public Scoreboard getScoreboard()
    • getId

      public String getId()
    • getNameTagVisibility

      public com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility getNameTagVisibility()
    • getColor

      public com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor getColor()
    • getCurrentData

      public Team.TeamData getCurrentData()
    • getCachedData

      public Team.TeamData getCachedData()
    • isUpdating

      public boolean isUpdating()
    • setNameTagVisibility

      public Team setNameTagVisibility(com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility nameTagVisibility)
      Returns:
      this.
    • setColor

      public Team setColor(com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor color)
      Returns:
      this.