public class ScoreboardState extends PersistentState
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER |
private Scoreboard |
scoreboard |
private CompoundTag |
tag |
Constructor and Description |
---|
ScoreboardState() |
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeDisplaySlots(CompoundTag compoundTag) |
protected void |
deserializeObjectives(ListTag listTag) |
protected void |
deserializeTeamPlayers(Team team,
ListTag listTag) |
protected void |
deserializeTeams(ListTag listTag) |
void |
fromTag(CompoundTag tag) |
protected ListTag |
serializeObjectives() |
protected void |
serializeSlots(CompoundTag compoundTag) |
protected ListTag |
serializeTeams() |
void |
setScoreboard(Scoreboard scoreboard) |
CompoundTag |
toTag(CompoundTag tag) |
private static final Logger LOGGER
private Scoreboard scoreboard
private CompoundTag tag
public void setScoreboard(Scoreboard scoreboard)
public void fromTag(CompoundTag tag)
fromTag
in class PersistentState
protected void deserializeTeams(ListTag listTag)
protected void deserializeDisplaySlots(CompoundTag compoundTag)
protected void deserializeObjectives(ListTag listTag)
public CompoundTag toTag(CompoundTag tag)
toTag
in class PersistentState
protected ListTag serializeTeams()
protected void serializeSlots(CompoundTag compoundTag)
protected ListTag serializeObjectives()