net.minecraft.advancements

public class AdvancementProgress

implements Comparable<AdvancementProgress>

ah
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
private static final DateTimeFormatter
b
OBTAINED_TIME_FORMAT
field_46081
TIME_FORMATTER
f_291415_
private static final com.mojang.serialization.Codec<Instant>
c
OBTAINED_TIME_CODEC
field_46082
TIME_CODEC
f_291732_
private static final com.mojang.serialization.Codec<Map<String, CriterionProgress>>
d
CRITERIA_CODEC
field_46083
MAP_CODEC
f_291192_
public static final com.mojang.serialization.Codec<AdvancementProgress>
a
CODEC
field_46080
CODEC
f_291693_
private final Map<String, CriterionProgress>
e
criteria
field_1160
criteriaProgresses
f_8190_
private AdvancementRequirements
f
requirements
field_1161
requirements
f_8191_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ai arg0)
update(AdvancementRequirements arg0)
method_727(class_8782 arg0)
init(AdvancementRequirements requirements)
m_8198_(C_290174_ arg0)
public boolean
a()
isDone()
method_740()
isDone()
m_8193_()
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(so arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_733(class_2540 arg0)
toPacket(PacketByteBuf buf)
m_8204_(C_4983_ arg0)
public static AdvancementProgress
b(so 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)
private boolean
d(String arg0)
isCriterionDone(String arg0)
method_53663(String arg0)
isCriterionObtained(String name)
m_293648_(String arg0)
public float
c()
getPercent()
method_735()
getProgressBarPercentage()
m_8213_()
public Component
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_()
public Iterable<String>
f()
getCompletedCriteria()
method_734()
getObtainedCriteria()
m_8220_()
public Instant
g()
getFirstProgressDate()
method_741()
getEarliestProgressObtainDate()
m_8221_()
public int
a(ah arg0)
compareTo(AdvancementProgress arg0)
method_738(class_167 arg0)
compareTo(AdvancementProgress arg0)
compareTo(C_2_ arg0)