net.minecraft.server

public class PlayerAdvancements

zb
net.minecraft.server.PlayerAdvancements
net.minecraft.class_2985
net.minecraft.unmapped.C_hyeqtgvx
net.minecraft.advancement.PlayerAdvancementTracker
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
f_gjxxqvop
LOGGER
LOGGER
f_135958_
private static final int
b
VISIBILITY_DEPTH
field_33383
f_xofodswu
MAX_VISIBLE_CHILDREN
MAX_VISIBLE_CHILDREN
f_179926_
private static final com.google.gson.Gson
c
GSON
field_13395
f_coxmlmdz
GSON
GSON
f_135959_
private static final com.google.gson.reflect.TypeToken<Map<ResourceLocation, AdvancementProgress>>
d
TYPE_TOKEN
field_13392
f_olkodwmv
JSON_TYPE
JSON_TYPE
f_135960_
private final com.mojang.datafixers.DataFixer
e
dataFixer
field_25324
f_ibwtrycy
dataFixer
dataFixer
f_135961_
private final PlayerList
f
playerList
field_25325
f_heqienju
playerManager
playerManager
f_135962_
private final File
g
file
field_13393
f_atashpwq
advancementFile
advancementFile
f_135963_
private final Map<Advancement, AdvancementProgress>
h
advancements
field_13389
f_pccmvfoq
advancementToProgress
advancementToProgress
f_135964_
private final Set<Advancement>
i
visible
field_13390
f_slcbnkdg
visibleAdvancements
visibleAdvancements
f_135965_
private final Set<Advancement>
j
visibilityChanged
field_13386
f_vzfpwsgo
visibilityUpdates
visibilityUpdates
f_135966_
private final Set<Advancement>
k
progressChanged
field_13388
f_tjxvxhib
progressUpdates
progressUpdates
f_135967_
private ServerPlayer
l
player
field_13391
f_irznbzby
owner
owner
f_135968_
private Advancement
m
lastSelectedTab
field_13387
f_tmfkznzu
currentDisplayTab
currentDisplayTab
f_135969_
private boolean
n
isFirstPacket
field_13396
f_sikjpymk
dirty
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(adx arg0)
setPlayer(ServerPlayer arg0)
method_12875(class_3222 arg0)
m_lcsyawvb(C_mxrobsgg arg0)
setOwner(ServerPlayerEntity owner)
setOwner(ServerPlayerEntity owner)
m_135979_(C_13_ arg0)
public void
a()
stopListening()
method_12881()
m_blqhkaiq()
clearCriteria()
clearCriteria()
m_135978_()
public void
a(ze arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
m_jgahcliw(C_fktoyupt arg0)
reload(ServerAdvancementLoader advancementLoader)
reload(ServerAdvancementLoader advancementLoader)
m_135981_(C_5279_ arg0)
private void
b(ze arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
m_yjaqlufb(C_fktoyupt arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
m_135994_(C_5279_ arg0)
private void
c()
ensureAllVisible()
method_12887()
m_xrfjidgx()
updateCompleted()
updateCompleted()
m_136001_()
private void
c(ze arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
m_guemlutk(C_fktoyupt arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
m_136002_(C_5279_ arg0)
private void
d(ze arg0)
load(ServerAdvancementManager arg0)
method_12873(class_2989 arg0)
m_rsgkbelj(C_fktoyupt arg0)
load(ServerAdvancementLoader advancementLoader)
load(ServerAdvancementLoader advancementLoader)
m_136006_(C_5279_ arg0)
public void
b()
save()
method_12890()
m_zrnhuclw()
save()
save()
m_135991_()
public boolean
a(af arg0, String arg1)
award(Advancement arg0, String arg1)
method_12878(class_161 arg0, String arg1)
m_ywfhjcpi(C_kdwyuhdb arg0, String arg1)
grantCriterion(Advancement advancement, String criterionName)
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)
m_awiiutgo(C_kdwyuhdb arg0, String arg1)
revokeCriterion(Advancement advancement, String criterionName)
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)
m_qiwsgxef(C_kdwyuhdb arg0)
beginTracking(Advancement advancement)
beginTracking(Advancement advancement)
m_136004_(C_5362_ arg0)
private void
d(af arg0)
unregisterListeners(Advancement arg0)
method_12880(class_161 arg0)
m_bucnvzph(C_kdwyuhdb arg0)
endTrackingCompleted(Advancement advancement)
endTrackingCompleted(Advancement advancement)
m_136008_(C_5362_ arg0)
public void
b(adx arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
m_ecvsrmhv(C_mxrobsgg arg0)
sendUpdate(ServerPlayerEntity player)
sendUpdate(ServerPlayerEntity player)
m_135992_(C_13_ arg0)
public void
a(af arg0)
setSelectedTab(Advancement arg0)
method_12888(class_161 arg0)
m_beumusmu(C_kdwyuhdb arg0)
setDisplayTab(Advancement advancement)
setDisplayTab(Advancement advancement)
m_135983_(C_5362_ arg0)
public AdvancementProgress
b(af arg0)
getOrStartProgress(Advancement arg0)
method_12882(class_161 arg0)
m_kgpamevw(C_kdwyuhdb arg0)
getProgress(Advancement advancement)
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)
m_pfzhwboq(C_kdwyuhdb arg0, C_rpzbknxp arg1)
initProgress(Advancement advancement, AdvancementProgress progress)
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)
m_lqdsazhu(C_kdwyuhdb arg0)
updateDisplay(Advancement advancement)
updateDisplay(Advancement advancement)
m_136010_(C_5362_ arg0)
private boolean
f(af arg0)
shouldBeVisible(Advancement arg0)
method_12879(class_161 arg0)
m_mtjewmrq(C_kdwyuhdb arg0)
canSee(Advancement advancement)
canSee(Advancement advancement)
m_136012_(C_5362_ arg0)
private boolean
g(af arg0)
hasCompletedChildrenOrSelf(Advancement arg0)
method_12877(class_161 arg0)
m_zhzgczir(C_kdwyuhdb arg0)
hasChildrenDone(Advancement advancement)
hasChildrenDone(Advancement advancement)
m_136014_(C_5362_ arg0)