Package net.minecraft.scoreboard
Class ScoreboardSaveData
- java.lang.Object
-
- net.minecraft.world.storage.WorldSavedData
-
- net.minecraft.scoreboard.ScoreboardSaveData
-
- All Implemented Interfaces:
INBTSerializable<CompoundNBT>
public class ScoreboardSaveData extends WorldSavedData
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundNBT
delayLoad
private static org.apache.logging.log4j.Logger
LOGGER
private Scoreboard
scoreboard
-
Constructor Summary
Constructors Constructor Description ScoreboardSaveData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
load(CompoundNBT p_76184_1_)
protected void
loadDisplaySlots(CompoundNBT p_96504_1_)
protected void
loadObjectives(ListNBT p_96501_1_)
protected void
loadTeamPlayers(ScorePlayerTeam p_96502_1_, ListNBT p_96502_2_)
protected void
loadTeams(ListNBT p_96498_1_)
CompoundNBT
save(CompoundNBT p_189551_1_)
protected void
saveDisplaySlots(CompoundNBT p_96497_1_)
protected ListNBT
saveObjectives()
protected ListNBT
saveTeams()
void
setScoreboard(Scoreboard p_96499_1_)
-
Methods inherited from class net.minecraft.world.storage.WorldSavedData
deserializeNBT, getId, isDirty, save, serializeNBT, setDirty, setDirty
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
scoreboard
private Scoreboard scoreboard
-
delayLoad
private CompoundNBT delayLoad
-
-
Method Detail
-
setScoreboard
public void setScoreboard(Scoreboard p_96499_1_)
-
load
public void load(CompoundNBT p_76184_1_)
- Specified by:
load
in classWorldSavedData
-
loadTeams
protected void loadTeams(ListNBT p_96498_1_)
-
loadTeamPlayers
protected void loadTeamPlayers(ScorePlayerTeam p_96502_1_, ListNBT p_96502_2_)
-
loadDisplaySlots
protected void loadDisplaySlots(CompoundNBT p_96504_1_)
-
loadObjectives
protected void loadObjectives(ListNBT p_96501_1_)
-
save
public CompoundNBT save(CompoundNBT p_189551_1_)
- Specified by:
save
in classWorldSavedData
-
saveTeams
protected ListNBT saveTeams()
-
saveDisplaySlots
protected void saveDisplaySlots(CompoundNBT p_96497_1_)
-
saveObjectives
protected ListNBT saveObjectives()
-
-