public class ScoreboardSaveData extends WorldSavedData
Modifier and Type | Field and Description |
---|---|
private NBTTagCompound |
delayedInitNbt |
private static org.apache.logging.log4j.Logger |
LOGGER |
private Scoreboard |
scoreboard |
mapName
Constructor and Description |
---|
ScoreboardSaveData() |
ScoreboardSaveData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillInDisplaySlots(NBTTagCompound compound) |
protected void |
loadTeamPlayers(ScorePlayerTeam playerTeam,
NBTTagList tagList) |
protected NBTTagList |
objectivesToNbt() |
protected void |
readDisplayConfig(NBTTagCompound compound) |
void |
readFromNBT(NBTTagCompound nbt) |
protected void |
readObjectives(NBTTagList nbt) |
protected void |
readScores(NBTTagList nbt) |
protected void |
readTeams(NBTTagList tagList) |
protected NBTTagList |
scoresToNbt() |
void |
setScoreboard(Scoreboard scoreboardIn) |
protected NBTTagList |
teamsToNbt() |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
deserializeNBT, isDirty, markDirty, serializeNBT, setDirty
private static final org.apache.logging.log4j.Logger LOGGER
private Scoreboard scoreboard
private NBTTagCompound delayedInitNbt
public ScoreboardSaveData()
public ScoreboardSaveData(java.lang.String name)
public void setScoreboard(Scoreboard scoreboardIn)
public void readFromNBT(NBTTagCompound nbt)
readFromNBT
in class WorldSavedData
protected void readTeams(NBTTagList tagList)
protected void loadTeamPlayers(ScorePlayerTeam playerTeam, NBTTagList tagList)
protected void readDisplayConfig(NBTTagCompound compound)
protected void readObjectives(NBTTagList nbt)
protected void readScores(NBTTagList nbt)
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class WorldSavedData
protected NBTTagList teamsToNbt()
protected void fillInDisplaySlots(NBTTagCompound compound)
protected NBTTagList objectivesToNbt()
protected NBTTagList scoresToNbt()