net.minecraft.server

public class PlayerAdvancements

adl
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 com.google.gson.Gson
b
GSON
field_13395
GSON
f_135959_
private static final com.google.gson.reflect.TypeToken<Map<ResourceLocation, AdvancementProgress>>
c
TYPE_TOKEN
field_13392
JSON_TYPE
f_135960_
private final com.mojang.datafixers.DataFixer
d
dataFixer
field_25324
dataFixer
f_135961_
private final PlayerList
e
playerList
field_25325
playerManager
f_135962_
private final Path
f
playerSavePath
field_41734
filePath
f_263766_
private final Map<Advancement, AdvancementProgress>
g
progress
field_41735
progress
f_263740_
private final Set<Advancement>
h
visible
field_13390
visibleAdvancements
f_135965_
private final Set<Advancement>
i
progressChanged
field_13388
progressUpdates
f_135967_
private final Set<Advancement>
j
rootsToUpdate
field_41736
updatedRoots
f_263821_
private ServerPlayer
k
player
field_13391
owner
f_135968_
private Advancement
l
lastSelectedTab
field_13387
currentDisplayTab
f_135969_
private boolean
m
isFirstPacket
field_13396
dirty
f_135970_

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(aiq 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(adp arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
reload(ServerAdvancementLoader advancementLoader)
m_135981_(C_5279_ arg0)
private void
b(adp arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
m_135994_(C_5279_ arg0)
private void
c(adp arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
m_136002_(C_5279_ arg0)
private void
d(adp 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(ae 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(ae 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(ae arg0)
markForVisibilityUpdate(Advancement arg0)
method_48028(class_161 arg0)
onStatusUpdate(Advancement advancement)
m_264423_(C_5362_ arg0)
private void
d(ae arg0)
registerListeners(Advancement arg0)
method_12874(class_161 arg0)
beginTracking(Advancement advancement)
m_136004_(C_5362_ arg0)
private void
e(ae arg0)
unregisterListeners(Advancement arg0)
method_12880(class_161 arg0)
endTrackingCompleted(Advancement advancement)
m_136008_(C_5362_ arg0)
public void
b(aiq arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity player)
m_135992_(C_13_ arg0)
public void
a(ae arg0)
setSelectedTab(Advancement arg0)
method_12888(class_161 arg0)
setDisplayTab(Advancement advancement)
m_135983_(C_5362_ arg0)
public AdvancementProgress
b(ae arg0)
getOrStartProgress(Advancement arg0)
method_12882(class_161 arg0)
getProgress(Advancement advancement)
m_135996_(C_5362_ arg0)
private void
a(ae arg0, ag 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
a(ae arg0, Set<ae> arg1, Set<add> arg2)
updateTreeVisibility(Advancement arg0, Set<Advancement> arg1, Set<ResourceLocation> arg2)
method_48025(class_161 arg0, Set<class_161> arg1, Set<class_2960> arg2)
calculateDisplay(Advancement root, Set<Advancement> added, Set<Identifier> removed)
m_264265_(C_5362_ p_265206_, Set<C_5362_> p_265593_, Set<C_5265_> arg2)