public class Scoreboard extends Object
| Constructor and Description |
|---|
Scoreboard(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
despawnObjective(Objective objective) |
Objective |
getObjective(String objectiveName) |
Team |
getTeam(String teamName) |
Team |
getTeamFor(String entity) |
void |
onUpdate() |
Objective |
registerNewObjective(String objectiveId,
boolean temp) |
Objective |
registerNewObjective(String objectiveId,
com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardPosition displaySlot) |
Team |
registerNewTeam(String teamName,
Set<String> players) |
void |
removeTeam(String teamName) |
void |
unregisterObjective(String objectiveName) |
public Scoreboard(GeyserSession session)
public Objective registerNewObjective(String objectiveId, com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardPosition displaySlot)
public void unregisterObjective(String objectiveName)
public void removeTeam(String teamName)
public void onUpdate()
public void despawnObjective(Objective objective)
Copyright © 2020 GeyserMC. All rights reserved.