net.minecraft.advancements

public class AdvancementProgress

implements Comparable<AdvancementProgress>

y
net.minecraft.advancements.AdvancementProgress
net.minecraft.class_167
net.minecraft.advancement.AdvancementProgress
net.minecraft.advancements.AdvancementProgress
net.minecraft.server.v1_16_R1.AdvancementProgress

Field summary

Modifier and TypeField
private final Map<String, CriterionProgress>
a
criteria
field_1160
criteriaProgresses
field_192110_a
private String[][]
b
requirements
field_1161
requirements
field_192111_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(Map<String, ab> arg0, String[][] arg1)
update(Map<String, Criterion> arg0, String[][] arg1)
method_727(Map<String, class_175> arg0, String[][] arg1)
init(Map<String, AdvancementCriterion> criteria, String[][] requirements)
func_192099_a(Map<String, Criterion> arg0, String[][] arg1)
public boolean
a()
isDone()
method_740()
isDone()
func_192105_a()
isDone()
public boolean
b()
hasProgress()
method_742()
isAnyObtained()
func_192108_b()
public boolean
a(String arg0)
grantProgress(String arg0)
method_743(String arg0)
obtain(String name)
func_192109_a(String arg0)
public boolean
b(String arg0)
revokeProgress(String arg0)
method_729(String arg0)
reset(String name)
func_192101_b(String arg0)
public void
a(mg arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_733(class_2540 arg0)
toPacket(PacketByteBuf buf)
func_192104_a(PacketBuffer arg0)
public static AdvancementProgress
b(mg arg0)
fromNetwork(FriendlyByteBuf arg0)
method_732(class_2540 arg0)
fromPacket(PacketByteBuf buf)
func_192100_b(PacketBuffer arg0)
public CriterionProgress
c(String arg0)
getCriterion(String arg0)
method_737(String arg0)
getCriterionProgress(String name)
func_192106_c(String arg0)
getCriterionProgress(String arg0)
public Iterable<String>
e()
getRemainingCriteria()
method_731()
getUnobtainedCriteria()
func_192107_d()
getRemainingCriteria()
public Iterable<String>
f()
getCompletedCriteria()
method_734()
getObtainedCriteria()
func_192102_e()
getAwardedCriteria()
public Date
g()
getFirstProgressDate()
method_741()
getEarliestProgressObtainDate()
func_193128_g()
public int
a(y arg0)
compareTo(AdvancementProgress arg0)
method_738(class_167 arg0)
compareTo(AdvancementProgress arg0)
compareTo(AdvancementProgress arg0)
public float
c()
getPercent()
method_735()
getProgressBarPercentage()
func_192103_c()
public String
d()
getProgressText()
method_728()
getProgressBarFraction()
func_193126_d()
private int
h()
countCompletedRequirements()
method_736()
countObtainedRequirements()
func_194032_h()