net.minecraft.server

public class PlayerAdvancements

sv
net.minecraft.server.PlayerAdvancements
net.minecraft.class_2985
net.minecraft.advancement.PlayerAdvancementTracker
net.minecraft.advancements.PlayerAdvancements
net.minecraft.server.v1_15_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 MinecraftServer
d
server
field_13397
server
field_192756_d
private final File
e
file
field_13393
advancementFile
field_192757_e
private final Map<Advancement, AdvancementProgress>
f
advancements
field_13389
advancementToProgress
field_192758_f
data
private final Set<Advancement>
g
visible
field_13390
visibleAdvancements
field_192759_g
private final Set<Advancement>
h
visibilityChanged
field_13386
visibilityUpdates
field_192760_h
private final Set<Advancement>
i
progressChanged
field_13388
progressUpdates
field_192761_i
private ServerPlayer
j
player
field_13391
owner
field_192762_j
player
private Advancement
k
lastSelectedTab
field_13387
currentDisplayTab
field_194221_k
private boolean
l
isFirstPacket
field_13396
dirty
field_192763_k

Constructor summary

ModifierConstructor
public (MinecraftServer server, File advancementFile, ServerPlayer owner)

Method summary

Modifier and TypeMethod
public void
a(xe arg0)
setPlayer(ServerPlayer arg0)
method_12875(class_3222 arg0)
setOwner(ServerPlayerEntity owner)
func_192739_a(ServerPlayerEntity arg0)
public void
a()
stopListening()
method_12881()
clearCriterions()
func_192745_a()
public void
b()
reload()
method_12886()
reload()
func_193766_b()
private void
d()
registerListeners()
method_12889()
beginTrackingAllAdvancements()
func_192751_c()
private void
e()
ensureAllVisible()
method_12887()
updateCompleted()
func_192752_d()
private void
f()
checkForAutomaticTriggers()
method_12872()
rewardEmptyAdvancements()
func_192748_e()
private void
g()
load()
method_12873()
load()
func_192740_f()
public void
c()
save()
method_12890()
save()
func_192749_b()
public boolean
a(u arg0, String arg1)
award(Advancement arg0, String arg1)
method_12878(class_161 arg0, String arg1)
grantCriterion(Advancement arg0, String criterion)
func_192750_a(Advancement arg0, String arg1)
grantCriteria(Advancement arg0, String arg1)
public boolean
b(u arg0, String arg1)
revoke(Advancement arg0, String arg1)
method_12883(class_161 arg0, String arg1)
revokeCriterion(Advancement arg0, String criterion)
func_192744_b(Advancement arg0, String arg1)
revokeCritera(Advancement arg0, String arg1)
private void
c(u arg0)
registerListeners(Advancement arg0)
method_12874(class_161 arg0)
beginTracking(Advancement arg0)
func_193764_b(Advancement arg0)
private void
d(u arg0)
unregisterListeners(Advancement arg0)
method_12880(class_161 arg0)
endTrackingCompleted(Advancement arg0)
func_193765_c(Advancement arg0)
public void
b(xe arg0)
flushDirty(ServerPlayer arg0)
method_12876(class_3222 arg0)
sendUpdate(ServerPlayerEntity arg0)
func_192741_b(ServerPlayerEntity arg0)
public void
a(u arg0)
setSelectedTab(Advancement arg0)
method_12888(class_161 arg0)
setDisplayTab(Advancement arg0)
func_194220_a(Advancement arg0)
public AdvancementProgress
b(u arg0)
getOrStartProgress(Advancement arg0)
method_12882(class_161 arg0)
getProgress(Advancement arg0)
func_192747_a(Advancement arg0)
getProgress(Advancement arg0)
private void
a(u arg0, w arg1)
startProgress(Advancement arg0, AdvancementProgress arg1)
method_12884(class_161 arg0, class_167 arg1)
initProgress(Advancement arg0, AdvancementProgress arg1)
func_192743_a(Advancement arg0, AdvancementProgress arg1)
private void
e(u arg0)
ensureVisibility(Advancement arg0)
method_12885(class_161 arg0)
updateDisplay(Advancement arg0)
func_192742_b(Advancement arg0)
private boolean
f(u arg0)
shouldBeVisible(Advancement arg0)
method_12879(class_161 arg0)
canSee(Advancement arg0)
func_192738_c(Advancement arg0)
private boolean
g(u arg0)
hasCompletedChildrenOrSelf(Advancement arg0)
method_12877(class_161 arg0)
hasChildrenDone(Advancement arg0)
func_192746_d(Advancement arg0)