net.minecraft.server

public class PlayerAdvancements

akz
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 com.google.gson.Gson
b
GSON
field_13395
f_coxmlmdz
GSON
GSON
f_135959_
private final PlayerList
c
playerList
field_25325
f_heqienju
playerManager
playerManager
f_135962_
private final Path
d
playerSavePath
field_41734
f_ciwlbphk
filePath
advancementsSaveFile
f_263766_
private AdvancementTree
e
tree
field_46073
f_vvrvziqs
advancementManager
tree
f_291661_
private final Map<AdvancementHolder, AdvancementProgress>
f
progress
field_41735
f_jehxxcjj
progress
advancementProgresses
f_263740_
private final Set<AdvancementHolder>
g
visible
field_13390
f_slcbnkdg
visibleAdvancements
visibleAdvancements
f_135965_
private final Set<AdvancementHolder>
h
progressChanged
field_13388
f_tjxvxhib
progressUpdates
progressUpdates
f_135967_
private final Set<AdvancementNode>
i
rootsToUpdate
field_41736
f_ivqxewak
updatedRoots
nodes
f_263821_
private ServerPlayer
j
player
field_13391
f_irznbzby
owner
owner
f_135968_
private AdvancementHolder
k
lastSelectedTab
field_13387
f_tmfkznzu
currentDisplayTab
currentDisplayTab
f_135969_
private boolean
l
isFirstPacket
field_13396
f_sikjpymk
dirty
dirty
f_135970_
private final com.mojang.serialization.Codec<PlayerAdvancements$Data>
m
codec
field_46074
f_wylfyffs
progressMapCodec
codec
f_290992_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(aqv 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(ale 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(ale 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(ale 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(ale 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_()
private void
a(ale arg0, akz$a arg1)
applyFrom(ServerAdvancementManager arg0, PlayerAdvancements$Data arg1)
method_53640(class_2989 arg0, class_2985$class_8780 arg1)
m_pjrrhgbk(C_fktoyupt arg0, C_hyeqtgvx$C_tpewgfns arg1)
loadProgressMap(ServerAdvancementLoader loader, PlayerAdvancementTracker$ProgressMap progressMap)
load(ServerAdvancementLoader serverAdvancementLoader, PlayerAdvancementTracker$Data data)
m_294994_(C_5279_ p_300341_, C_5276_$C_290114_ arg1)
private PlayerAdvancements$Data
c()
asData()
method_53643()
m_qvumkguv()
createProgressMap()
data()
m_295536_()
public boolean
a(ag arg0, String arg1)
award(AdvancementHolder arg0, String arg1)
method_12878(class_8779 arg0, String arg1)
m_ywfhjcpi(C_unoypvme arg0, String arg1)
grantCriterion(AdvancementEntry advancement, String criterionName)
grantCriterion(AdvancementHolder advancement, String criterionName)
m_135988_(C_290295_ p_135990_, String arg1)
public boolean
b(ag arg0, String arg1)
revoke(AdvancementHolder arg0, String arg1)
method_12883(class_8779 arg0, String arg1)
m_awiiutgo(C_unoypvme arg0, String arg1)
revokeCriterion(AdvancementEntry advancement, String criterionName)
revokeCriterion(AdvancementHolder advancement, String criterionName)
m_135998_(C_290295_ p_136000_, String arg1)
private void
c(ag arg0)
markForVisibilityUpdate(AdvancementHolder arg0)
method_48028(class_8779 arg0)
m_pptrdaxw(C_unoypvme arg0)
onStatusUpdate(AdvancementEntry advancement)
add(AdvancementHolder advancement)
m_264423_(C_290295_ arg0)
private void
d(ag arg0)
registerListeners(AdvancementHolder arg0)
method_12874(class_8779 arg0)
m_xffosjia(C_unoypvme arg0)
beginTracking(AdvancementEntry advancement)
beginTracking(AdvancementHolder advancement)
m_136004_(C_290295_ arg0)
private <T extends CriterionTriggerInstance> void
a(ag arg0, String arg1, ao<T> arg2)
registerListener(AdvancementHolder arg0, String arg1, Criterion<T> arg2)
method_53638(class_8779 arg0, String arg1, class_175<T> arg2)
m_zebsrcbw(C_unoypvme arg0, String arg1, C_rzypsigz<T> arg2)
beginTracking(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion)
beginTracking(AdvancementHolder advancement, String name, AdvancementCriterion<T> criterion)
m_293212_(C_290295_ p_300029_, String p_298869_, C_109_<T> arg2)
private void
e(ag arg0)
unregisterListeners(AdvancementHolder arg0)
method_12880(class_8779 arg0)
m_bucnvzph(C_unoypvme arg0)
endTrackingCompleted(AdvancementEntry advancement)
endTracking(AdvancementHolder advancementHolder)
m_136008_(C_290295_ arg0)
private <T extends CriterionTriggerInstance> void
b(ag arg0, String arg1, ao<T> arg2)
removeListener(AdvancementHolder arg0, String arg1, Criterion<T> arg2)
method_53642(class_8779 arg0, String arg1, class_175<T> arg2)
m_qrcupvar(C_unoypvme arg0, String arg1, C_rzypsigz<T> arg2)
endTrackingCompleted(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion)
endTracking(AdvancementHolder advancement, String name, AdvancementCriterion<T> criterion)
m_292677_(C_290295_ p_298445_, String p_297428_, C_109_<T> arg2)
public void
b(aqv 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(ag arg0)
setSelectedTab(AdvancementHolder arg0)
method_12888(class_8779 arg0)
m_beumusmu(C_unoypvme arg0)
setDisplayTab(AdvancementEntry advancement)
setDisplayTab(AdvancementHolder holder)
m_135983_(C_290295_ arg0)
public AdvancementProgress
b(ag arg0)
getOrStartProgress(AdvancementHolder arg0)
method_12882(class_8779 arg0)
m_kgpamevw(C_unoypvme arg0)
getProgress(AdvancementEntry advancement)
getProgress(AdvancementHolder holder)
m_135996_(C_290295_ arg0)
private void
a(ag arg0, ai arg1)
startProgress(AdvancementHolder arg0, AdvancementProgress arg1)
method_12884(class_8779 arg0, class_167 arg1)
m_pfzhwboq(C_unoypvme arg0, C_rpzbknxp arg1)
initProgress(AdvancementEntry advancement, AdvancementProgress progress)
initProgress(AdvancementHolder advancementHolder, AdvancementProgress progress)
m_135985_(C_290295_ p_135987_, C_2_ arg1)
private void
a(ah arg0, Set<ag> arg1, Set<akr> arg2)
updateTreeVisibility(AdvancementNode arg0, Set<AdvancementHolder> arg1, Set<ResourceLocation> arg2)
method_48025(class_8781 arg0, Set<class_8779> arg1, Set<class_2960> arg2)
m_czdclwkv(C_seqaydby arg0, Set<C_unoypvme> arg1, Set<C_ncpywfca> arg2)
calculateDisplay(PlacedAdvancement root, Set<AdvancementEntry> added, Set<Identifier> removed)
updateVisibility(AdvancementNode root, Set<AdvancementHolder> visibleAdvancements, Set<Identifier> hiddenAdvancements)
m_264265_(C_290119_ p_265206_, Set<C_290295_> p_265593_, Set<C_5265_> arg2)