public class ScoreboardSaveData extends WorldSavedData
Modifier and Type | Field and Description |
---|---|
private CompoundNBT |
delayedInitNbt |
private static org.apache.logging.log4j.Logger |
LOGGER |
private Scoreboard |
scoreboard |
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, setDirty
private static final org.apache.logging.log4j.Logger LOGGER
private Scoreboard scoreboard
private CompoundNBT delayedInitNbt
public void setScoreboard(Scoreboard scoreboardIn)
public void read(CompoundNBT nbt)
read
in class WorldSavedData
protected 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 WorldSavedData
protected ListNBT teamsToNbt()
protected void fillInDisplaySlots(CompoundNBT compound)
protected ListNBT objectivesToNbt()