net.minecraft.server

public class PlayerAdvancements

aho
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 final PlayerList
c
playerList
field_25325
playerManager
f_135962_
private final Path
d
playerSavePath
field_41734
filePath
f_263766_
private AdvancementTree
e
tree
field_46073
advancementManager
f_291661_
private final Map<AdvancementHolder, AdvancementProgress>
f
progress
field_41735
progress
f_263740_
private final Set<AdvancementHolder>
g
visible
field_13390
visibleAdvancements
f_135965_
private final Set<AdvancementHolder>
h
progressChanged
field_13388
progressUpdates
f_135967_
private final Set<AdvancementNode>
i
rootsToUpdate
field_41736
updatedRoots
f_263821_
private ServerPlayer
j
player
field_13391
owner
f_135968_
private AdvancementHolder
k
lastSelectedTab
field_13387
currentDisplayTab
f_135969_
private boolean
l
isFirstPacket
field_13396
dirty
f_135970_
private final com.mojang.serialization.Codec<PlayerAdvancements$Data>
m
codec
field_46074
progressMapCodec
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(ane 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(ahs arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
reload(ServerAdvancementLoader advancementLoader)
m_135981_(C_5279_ arg0)
private void
b(ahs arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
m_135994_(C_5279_ arg0)
private void
c(ahs arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
m_136002_(C_5279_ arg0)
private void
d(ahs 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_()
private void
a(ahs arg0, aho$a arg1)
applyFrom(ServerAdvancementManager arg0, PlayerAdvancements$Data arg1)
method_53640(class_2989 arg0, class_2985$class_8780 arg1)
loadProgressMap(ServerAdvancementLoader loader, PlayerAdvancementTracker$ProgressMap progressMap)
m_294994_(C_5279_ p_300341_, C_5276_$C_290114_ arg1)
private PlayerAdvancements$Data
c()
asData()
method_53643()
createProgressMap()
m_295536_()
public boolean
a(af arg0, String arg1)
award(AdvancementHolder arg0, String arg1)
method_12878(class_8779 arg0, String arg1)
grantCriterion(AdvancementEntry advancement, String criterionName)
m_135988_(C_290295_ p_135990_, String arg1)
public boolean
b(af arg0, String arg1)
revoke(AdvancementHolder arg0, String arg1)
method_12883(class_8779 arg0, String arg1)
revokeCriterion(AdvancementEntry advancement, String criterionName)
m_135998_(C_290295_ p_136000_, String arg1)
private void
c(af arg0)
markForVisibilityUpdate(AdvancementHolder arg0)
method_48028(class_8779 arg0)
onStatusUpdate(AdvancementEntry advancement)
m_264423_(C_290295_ arg0)
private void
d(af arg0)
registerListeners(AdvancementHolder arg0)
method_12874(class_8779 arg0)
beginTracking(AdvancementEntry advancement)
m_136004_(C_290295_ arg0)
private <T extends CriterionTriggerInstance> void
a(af arg0, String arg1, an<T> arg2)
registerListener(AdvancementHolder arg0, String arg1, Criterion<T> arg2)
method_53638(class_8779 arg0, String arg1, class_175<T> arg2)
beginTracking(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion)
m_293212_(C_290295_ p_300029_, String p_298869_, C_109_<T> arg2)
private void
e(af arg0)
unregisterListeners(AdvancementHolder arg0)
method_12880(class_8779 arg0)
endTrackingCompleted(AdvancementEntry advancement)
m_136008_(C_290295_ arg0)
private <T extends CriterionTriggerInstance> void
b(af arg0, String arg1, an<T> arg2)
removeListener(AdvancementHolder arg0, String arg1, Criterion<T> arg2)
method_53642(class_8779 arg0, String arg1, class_175<T> arg2)
endTrackingCompleted(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion)
m_292677_(C_290295_ p_298445_, String p_297428_, C_109_<T> arg2)
public void
b(ane arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity player)
m_135992_(C_13_ arg0)
public void
a(af arg0)
setSelectedTab(AdvancementHolder arg0)
method_12888(class_8779 arg0)
setDisplayTab(AdvancementEntry advancement)
m_135983_(C_290295_ arg0)
public AdvancementProgress
b(af arg0)
getOrStartProgress(AdvancementHolder arg0)
method_12882(class_8779 arg0)
getProgress(AdvancementEntry advancement)
m_135996_(C_290295_ arg0)
private void
a(af arg0, ah arg1)
startProgress(AdvancementHolder arg0, AdvancementProgress arg1)
method_12884(class_8779 arg0, class_167 arg1)
initProgress(AdvancementEntry advancement, AdvancementProgress progress)
m_135985_(C_290295_ p_135987_, C_2_ arg1)
private void
a(ag arg0, Set<af> arg1, Set<ahg> arg2)
updateTreeVisibility(AdvancementNode arg0, Set<AdvancementHolder> arg1, Set<ResourceLocation> arg2)
method_48025(class_8781 arg0, Set<class_8779> arg1, Set<class_2960> arg2)
calculateDisplay(PlacedAdvancement root, Set<AdvancementEntry> added, Set<Identifier> removed)
m_264265_(C_290119_ p_265206_, Set<C_290295_> p_265593_, Set<C_5265_> arg2)