Package org.geysermc.geyser.scoreboard
Class Team
java.lang.Object
org.geysermc.geyser.scoreboard.Team
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEntities(String... names)
com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor
getColor()
getDisplayName(String score)
getId()
com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility
boolean
int
hashCode()
boolean
boolean
isVisibleFor(String entity)
void
void
removeEntities(String... names)
setColor(com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor color)
setNameTagVisibility(com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility nameTagVisibility)
setUpdateType(UpdateType updateType)
boolean
-
Constructor Details
-
Team
-
-
Method Details
-
addEntities
-
removeEntities
- Returns:
- all removed entities from this team
-
hasEntity
-
setName
-
setPrefix
-
setSuffix
-
getDisplayName
-
markUpdated
public void markUpdated() -
shouldUpdate
public boolean shouldUpdate() -
prepareUpdate
public void prepareUpdate() -
getUpdateType
-
getCachedUpdateType
-
setUpdateType
-
isVisibleFor
-
hashCode
public int hashCode() -
getScoreboard
-
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
-
getCachedData
-
isUpdating
public boolean isUpdating() -
setNameTagVisibility
public Team setNameTagVisibility(com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility nameTagVisibility)- Returns:
this
.
-
setColor
- Returns:
this
.
-