net.minecraft.server

public class PlayerAdvancements

abj
net.minecraft.server.PlayerAdvancements
net.minecraft.class_2985
net.minecraft.advancement.PlayerAdvancementTracker
net.minecraft.src.C_5276_
net.minecraft.server.AdvancementDataPlayer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_13394
LOGGER
f_135958_
private static final int
b
VISIBILITY_DEPTH
field_33383
MAX_VISIBLE_CHILDREN
f_179926_
private static final com.google.gson.Gson
c
GSON
field_13395
GSON
f_135959_
private static final com.google.gson.reflect.TypeToken<Map<ResourceLocation, AdvancementProgress>>
d
TYPE_TOKEN
field_13392
JSON_TYPE
f_135960_
private final com.mojang.datafixers.DataFixer
e
dataFixer
field_25324
dataFixer
f_135961_
private final PlayerList
f
playerList
field_25325
playerManager
f_135962_
private final File
g
file
field_13393
advancementFile
f_135963_
private final Map<Advancement, AdvancementProgress>
h
advancements
field_13389
advancementToProgress
f_135964_
private final Set<Advancement>
i
visible
field_13390
visibleAdvancements
f_135965_
private final Set<Advancement>
j
visibilityChanged
field_13386
visibilityUpdates
f_135966_
private final Set<Advancement>
k
progressChanged
field_13388
progressUpdates
f_135967_
private ServerPlayer
l
player
field_13391
owner
f_135968_
private Advancement
m
lastSelectedTab
field_13387
currentDisplayTab
f_135969_
private boolean
n
isFirstPacket
field_13396
dirty
f_135970_

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.DataFixer dataFixer, PlayerList playerManager, ServerAdvancementManager advancementLoader, File advancementFile, ServerPlayer owner)

Method summary

Modifier and TypeMethod
public void
a(agh arg0)
setPlayer(ServerPlayer arg0)
method_12875(class_3222 arg0)
setOwner(ServerPlayerEntity owner)
m_135979_(C_13_ arg0)
public void
a()
stopListening()
method_12881()
clearCriteria()
m_135978_()
public void
a(abm arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
reload(ServerAdvancementLoader advancementLoader)
m_135981_(C_5279_ arg0)
private void
b(abm arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
m_135994_(C_5279_ arg0)
private void
c()
ensureAllVisible()
method_12887()
updateCompleted()
m_136001_()
private void
c(abm arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
m_136002_(C_5279_ arg0)
private void
d(abm arg0)
load(ServerAdvancementManager arg0)
method_12873(class_2989 arg0)
load(ServerAdvancementLoader advancementLoader)
m_136006_(C_5279_ arg0)
public void
b()
save()
method_12890()
save()
m_135991_()
public boolean
a(af arg0, String arg1)
award(Advancement arg0, String arg1)
method_12878(class_161 arg0, String arg1)
grantCriterion(Advancement advancement, String criterionName)
m_135988_(C_5362_ p_135990_, String arg1)
public boolean
b(af arg0, String arg1)
revoke(Advancement arg0, String arg1)
method_12883(class_161 arg0, String arg1)
revokeCriterion(Advancement advancement, String criterionName)
m_135998_(C_5362_ p_136000_, String arg1)
private void
c(af arg0)
registerListeners(Advancement arg0)
method_12874(class_161 arg0)
beginTracking(Advancement advancement)
m_136004_(C_5362_ arg0)
private void
d(af arg0)
unregisterListeners(Advancement arg0)
method_12880(class_161 arg0)
endTrackingCompleted(Advancement advancement)
m_136008_(C_5362_ arg0)
public void
b(agh arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity player)
m_135992_(C_13_ arg0)
public void
a(af arg0)
setSelectedTab(Advancement arg0)
method_12888(class_161 arg0)
setDisplayTab(Advancement advancement)
m_135983_(C_5362_ arg0)
public AdvancementProgress
b(af arg0)
getOrStartProgress(Advancement arg0)
method_12882(class_161 arg0)
getProgress(Advancement advancement)
m_135996_(C_5362_ arg0)
private void
a(af arg0, ah arg1)
startProgress(Advancement arg0, AdvancementProgress arg1)
method_12884(class_161 arg0, class_167 arg1)
initProgress(Advancement advancement, AdvancementProgress progress)
m_135985_(C_5362_ p_135987_, C_2_ arg1)
private void
e(af arg0)
ensureVisibility(Advancement arg0)
method_12885(class_161 arg0)
updateDisplay(Advancement advancement)
m_136010_(C_5362_ arg0)
private boolean
f(af arg0)
shouldBeVisible(Advancement arg0)
method_12879(class_161 arg0)
canSee(Advancement advancement)
m_136012_(C_5362_ arg0)
private boolean
g(af arg0)
hasCompletedChildrenOrSelf(Advancement arg0)
method_12877(class_161 arg0)
hasChildrenDone(Advancement advancement)
m_136014_(C_5362_ arg0)