net.minecraft.server

public class PlayerAdvancements

uq
net.minecraft.server.PlayerAdvancements
net.minecraft.class_2985
net.minecraft.advancement.PlayerAdvancementTracker
net.minecraft.advancements.PlayerAdvancements
net.minecraft.server.v1_16_R1.AdvancementDataPlayer

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_13394
LOGGER
field_192753_a
private static final com.google.gson.Gson
b
GSON
field_13395
GSON
field_192754_b
private static final com.google.gson.reflect.TypeToken<Map<ResourceLocation, AdvancementProgress>>
c
TYPE_TOKEN
field_13392
JSON_TYPE
field_192755_c
private final com.mojang.datafixers.DataFixer
d
dataFixer
field_25324
field_25324
field_240916_d_
private final PlayerList
e
playerList
field_25325
field_25325
field_240917_e_
private final File
f
file
field_13393
advancementFile
field_192757_e
private final Map<Advancement, AdvancementProgress>
g
advancements
field_13389
advancementToProgress
field_192758_f
data
private final Set<Advancement>
h
visible
field_13390
visibleAdvancements
field_192759_g
private final Set<Advancement>
i
visibilityChanged
field_13386
visibilityUpdates
field_192760_h
private final Set<Advancement>
j
progressChanged
field_13388
progressUpdates
field_192761_i
private ServerPlayer
k
player
field_13391
owner
field_192762_j
player
private Advancement
l
lastSelectedTab
field_13387
currentDisplayTab
field_194221_k
private boolean
m
isFirstPacket
field_13396
dirty
field_192763_k

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.DataFixer arg0, PlayerList arg1, ServerAdvancementManager arg2, File arg3, ServerPlayer arg4)

Method summary

Modifier and TypeMethod
public void
a(ze arg0)
setPlayer(ServerPlayer arg0)
method_12875(class_3222 arg0)
setOwner(ServerPlayerEntity owner)
func_192739_a(ServerPlayerEntity arg0)
public void
a()
stopListening()
method_12881()
clearCriteria()
func_192745_a()
public void
a(us arg0)
reload(ServerAdvancementManager arg0)
method_12886(class_2989 arg0)
reload(ServerAdvancementLoader advancementLoader)
func_240918_a_(AdvancementManager arg0)
private void
b(us arg0)
registerListeners(ServerAdvancementManager arg0)
method_12889(class_2989 arg0)
beginTrackingAllAdvancements(ServerAdvancementLoader advancementLoader)
func_240919_b_(AdvancementManager arg0)
private void
c()
ensureAllVisible()
method_12887()
updateCompleted()
func_192752_d()
private void
c(us arg0)
checkForAutomaticTriggers(ServerAdvancementManager arg0)
method_12872(class_2989 arg0)
rewardEmptyAdvancements(ServerAdvancementLoader advancementLoader)
func_240920_c_(AdvancementManager arg0)
private void
d(us arg0)
load(ServerAdvancementManager arg0)
method_12873(class_2989 arg0)
load(ServerAdvancementLoader advancementLoader)
func_240921_d_(AdvancementManager arg0)
public void
b()
save()
method_12890()
save()
func_192749_b()
public boolean
a(w arg0, String arg1)
award(Advancement arg0, String arg1)
method_12878(class_161 arg0, String arg1)
grantCriterion(Advancement advancement, String criterionName)
func_192750_a(Advancement arg0, String arg1)
grantCriteria(Advancement arg0, String arg1)
public boolean
b(w arg0, String arg1)
revoke(Advancement arg0, String arg1)
method_12883(class_161 arg0, String arg1)
revokeCriterion(Advancement advancement, String criterionName)
func_192744_b(Advancement arg0, String arg1)
revokeCritera(Advancement arg0, String arg1)
private void
c(w arg0)
registerListeners(Advancement arg0)
method_12874(class_161 arg0)
beginTracking(Advancement advancement)
func_193764_b(Advancement arg0)
private void
d(w arg0)
unregisterListeners(Advancement arg0)
method_12880(class_161 arg0)
endTrackingCompleted(Advancement advancement)
func_193765_c(Advancement arg0)
public void
b(ze arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity player)
func_192741_b(ServerPlayerEntity arg0)
public void
a(w arg0)
setSelectedTab(Advancement arg0)
method_12888(class_161 arg0)
setDisplayTab(Advancement advancement)
func_194220_a(Advancement arg0)
public AdvancementProgress
b(w arg0)
getOrStartProgress(Advancement arg0)
method_12882(class_161 arg0)
getProgress(Advancement advancement)
func_192747_a(Advancement arg0)
getProgress(Advancement arg0)
private void
a(w arg0, y arg1)
startProgress(Advancement arg0, AdvancementProgress arg1)
method_12884(class_161 arg0, class_167 arg1)
initProgress(Advancement advancement, AdvancementProgress progress)
func_192743_a(Advancement arg0, AdvancementProgress arg1)
private void
e(w arg0)
ensureVisibility(Advancement arg0)
method_12885(class_161 arg0)
updateDisplay(Advancement advancement)
func_192742_b(Advancement arg0)
private boolean
f(w arg0)
shouldBeVisible(Advancement arg0)
method_12879(class_161 arg0)
canSee(Advancement advancement)
func_192738_c(Advancement arg0)
private boolean
g(w arg0)
hasCompletedChildrenOrSelf(Advancement arg0)
method_12877(class_161 arg0)
hasChildrenDone(Advancement advancement)
func_192746_d(Advancement arg0)