net.minecraft.advancements

public class AdvancementProgress

implements Comparable<AdvancementProgress>

ag
net.minecraft.advancements.AdvancementProgress
net.minecraft.class_167
net.minecraft.advancement.AdvancementProgress
net.minecraft.src.C_2_
net.minecraft.advancements.AdvancementProgress

Field summary

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

Constructor summary

ModifierConstructor
private (Map<String, CriterionProgress> criteriaProgresses)
public ()

Method summary

Modifier and TypeMethod
public void
a(Map<String, aj> 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)
m_8198_(Map<String, C_109_> p_8200_, String[][] arg1)
public boolean
a()
isDone()
method_740()
isDone()
m_8193_()
isDone()
public boolean
b()
hasProgress()
method_742()
isAnyObtained()
m_8206_()
public boolean
a(String arg0)
grantProgress(String arg0)
method_743(String arg0)
obtain(String name)
m_8196_(String arg0)
public boolean
b(String arg0)
revokeProgress(String arg0)
method_729(String arg0)
reset(String name)
m_8209_(String arg0)
public void
a(og arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_733(class_2540 arg0)
toPacket(PacketByteBuf buf)
m_8204_(C_4983_ arg0)
public static AdvancementProgress
b(og arg0)
fromNetwork(FriendlyByteBuf arg0)
method_732(class_2540 arg0)
fromPacket(PacketByteBuf buf)
m_8211_(C_4983_ p_8212_)
public CriterionProgress
c(String arg0)
getCriterion(String arg0)
method_737(String arg0)
getCriterionProgress(String name)
m_8214_(String arg0)
getCriterionProgress(String arg0)
public float
c()
getPercent()
method_735()
getProgressBarPercentage()
m_8213_()
public String
d()
getProgressText()
method_728()
getProgressBarFraction()
m_8218_()
private int
h()
countCompletedRequirements()
method_736()
countObtainedRequirements()
m_8222_()
public Iterable<String>
e()
getRemainingCriteria()
method_731()
getUnobtainedCriteria()
m_8219_()
getRemainingCriteria()
public Iterable<String>
f()
getCompletedCriteria()
method_734()
getObtainedCriteria()
m_8220_()
getAwardedCriteria()
public Date
g()
getFirstProgressDate()
method_741()
getEarliestProgressObtainDate()
m_8221_()
public int
a(ag arg0)
compareTo(AdvancementProgress arg0)
method_738(class_167 arg0)
compareTo(AdvancementProgress arg0)
compareTo(C_2_ arg0)