Package net.minecraft.scoreboard
Class ScoreboardState
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.scoreboard.ScoreboardState
public class ScoreboardState extends PersistentState
-
Field Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
private Scoreboard
scoreboard
private CompoundTag
tag
-
Constructor Summary
Constructors Constructor Description ScoreboardState()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
LOGGER
-
scoreboard
-
tag
-
-
Constructor Details
-
ScoreboardState
public ScoreboardState()
-
-
Method Details
-
setScoreboard
-
fromTag
- Specified by:
fromTag
in classPersistentState
-
deserializeTeams
-
deserializeTeamPlayers
-
deserializeDisplaySlots
-
deserializeObjectives
-
toTag
- Specified by:
toTag
in classPersistentState
-
serializeTeams
-
serializeSlots
-
serializeObjectives
-