public class ScoreboardSaveData extends WorldSavedData
| Constructor and Description |
|---|
ScoreboardSaveData() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillInDisplaySlots(CompoundNBT compound) |
protected void |
loadTeamPlayers(ScorePlayerTeam playerTeam,
ListNBT tagList) |
protected ListNBT |
objectivesToNbt() |
void |
read(CompoundNBT nbt) |
protected void |
readDisplayConfig(CompoundNBT compound) |
protected void |
readObjectives(ListNBT nbt) |
protected void |
readTeams(ListNBT tagList) |
void |
setScoreboard(Scoreboard scoreboardIn) |
protected ListNBT |
teamsToNbt() |
CompoundNBT |
write(CompoundNBT compound) |
deserializeNBT, getName, isDirty, markDirty, save, serializeNBT, setDirtypublic void setScoreboard(Scoreboard scoreboardIn)
public void read(CompoundNBT nbt)
read in class WorldSavedDataprotected void readTeams(ListNBT tagList)
protected void loadTeamPlayers(ScorePlayerTeam playerTeam, ListNBT tagList)
protected void readDisplayConfig(CompoundNBT compound)
protected void readObjectives(ListNBT nbt)
public CompoundNBT write(CompoundNBT compound)
write in class WorldSavedDataprotected ListNBT teamsToNbt()
protected void fillInDisplaySlots(CompoundNBT compound)
protected ListNBT objectivesToNbt()