net.minecraft.server

public class PlayerAdvancements

ald
net.minecraft.server.PlayerAdvancements
net.minecraft.class_2985
net.minecraft.advancement.PlayerAdvancementTracker
net.minecraft.server.AdvancementDataPlayer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_13394
LOGGER
private static final com.google.gson.Gson
b
GSON
field_13395
GSON
private final PlayerList
c
playerList
field_25325
playerManager
private final Path
d
playerSavePath
field_41734
filePath
private AdvancementTree
e
tree
field_46073
advancementManager
private final Map<AdvancementHolder, AdvancementProgress>
f
progress
field_41735
progress
private final Set<AdvancementHolder>
g
visible
field_13390
visibleAdvancements
private final Set<AdvancementHolder>
h
progressChanged
field_13388
progressUpdates
private final Set<AdvancementNode>
i
rootsToUpdate
field_41736
updatedRoots
private ServerPlayer
j
player
field_13391
owner
private AdvancementHolder
k
lastSelectedTab
field_13387
currentDisplayTab
private boolean
l
isFirstPacket
field_13396
dirty
private final com.mojang.serialization.Codec<PlayerAdvancements$Data>
m
codec
field_46074
progressMapCodec

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(are arg0)
setPlayer(ServerPlayer arg0)
method_12875(class_3222 arg0)
setOwner(ServerPlayerEntity owner)
public void
a()
stopListening()
method_12881()
clearCriteria()
public void
a(ali arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
reload(ServerAdvancementLoader advancementLoader)
private void
b(ali arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
private void
c(ali arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
private void
d(ali arg0)
load(ServerAdvancementManager arg0)
method_12873(class_2989 arg0)
load(ServerAdvancementLoader advancementLoader)
public void
b()
save()
method_12890()
save()
private void
a(ali arg0, ald$a arg1)
applyFrom(ServerAdvancementManager arg0, PlayerAdvancements$Data arg1)
method_53640(class_2989 arg0, class_2985$class_8780 arg1)
loadProgressMap(ServerAdvancementLoader loader, PlayerAdvancementTracker$ProgressMap progressMap)
private PlayerAdvancements$Data
c()
asData()
method_53643()
createProgressMap()
public boolean
a(ai arg0, String arg1)
award(AdvancementHolder arg0, String arg1)
method_12878(class_8779 arg0, String arg1)
grantCriterion(AdvancementEntry advancement, String criterionName)
public boolean
b(ai arg0, String arg1)
revoke(AdvancementHolder arg0, String arg1)
method_12883(class_8779 arg0, String arg1)
revokeCriterion(AdvancementEntry advancement, String criterionName)
private void
c(ai arg0)
markForVisibilityUpdate(AdvancementHolder arg0)
method_48028(class_8779 arg0)
onStatusUpdate(AdvancementEntry advancement)
private void
d(ai arg0)
registerListeners(AdvancementHolder arg0)
method_12874(class_8779 arg0)
beginTracking(AdvancementEntry advancement)
private <T extends CriterionTriggerInstance> void
a(ai arg0, String arg1, aq<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)
private void
e(ai arg0)
unregisterListeners(AdvancementHolder arg0)
method_12880(class_8779 arg0)
endTrackingCompleted(AdvancementEntry advancement)
private <T extends CriterionTriggerInstance> void
b(ai arg0, String arg1, aq<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)
public void
b(are arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity player)
public void
a(ai arg0)
setSelectedTab(AdvancementHolder arg0)
method_12888(class_8779 arg0)
setDisplayTab(AdvancementEntry advancement)
public AdvancementProgress
b(ai arg0)
getOrStartProgress(AdvancementHolder arg0)
method_12882(class_8779 arg0)
getProgress(AdvancementEntry advancement)
private void
a(ai arg0, ak arg1)
startProgress(AdvancementHolder arg0, AdvancementProgress arg1)
method_12884(class_8779 arg0, class_167 arg1)
initProgress(AdvancementEntry advancement, AdvancementProgress progress)
private void
a(aj arg0, Set<ai> arg1, Set<akv> 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)