net.minecraft.advancements

public class AdvancementProgress

implements Comparable<AdvancementProgress>

ai
net.minecraft.advancements.AdvancementProgress
net.minecraft.class_167
net.minecraft.unmapped.C_rpzbknxp
net.minecraft.advancement.AdvancementProgress
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
f_mhfgclex
TIME_FORMATTER
COMPLETED_TIME_FORMAT
f_291415_
private static final com.mojang.serialization.Codec<Instant>
c
OBTAINED_TIME_CODEC
field_46082
f_tfwtcnnx
TIME_CODEC
COMPLETED_TIME_CODEC
f_291732_
private static final com.mojang.serialization.Codec<Map<String, CriterionProgress>>
d
CRITERIA_CODEC
field_46083
f_ojpamimu
MAP_CODEC
CRITERIA_CODEC
f_291192_
public static final com.mojang.serialization.Codec<AdvancementProgress>
a
CODEC
field_46080
f_oqxaffnd
CODEC
CODEC
f_291693_
private final Map<String, CriterionProgress>
e
criteria
field_1160
f_otlapbhr
criteriaProgresses
criteriaProgresses
f_8190_
private AdvancementRequirements
f
requirements
field_1161
f_mkjaxtuk
requirements
requirements
f_8191_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(aj arg0)
update(AdvancementRequirements arg0)
method_727(class_8782 arg0)
m_hjnaqzwo(C_wbfyxnvb arg0)
init(AdvancementRequirements requirements)
init(AdvancementRequirements requirements)
m_8198_(C_290174_ arg0)
public boolean
a()
isDone()
method_740()
m_kxwhptqq()
isDone()
isComplete()
m_8193_()
public boolean
b()
hasProgress()
method_742()
m_dcbyaeuq()
isAnyObtained()
anyCriteriaComplete()
m_8206_()
public boolean
a(String arg0)
grantProgress(String arg0)
method_743(String arg0)
m_epppddpz(String arg0)
obtain(String name)
complete(String criterionName)
m_8196_(String arg0)
public boolean
b(String arg0)
revokeProgress(String arg0)
method_729(String arg0)
m_cpbjharz(String arg0)
reset(String name)
reset(String criterionName)
m_8209_(String arg0)
public void
a(vw arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_733(class_2540 arg0)
m_uwumgwtz(C_idfydwco arg0)
toPacket(PacketByteBuf buf)
toPacket(PacketByteBuf buf)
m_8204_(C_4983_ arg0)
public static AdvancementProgress
b(vw arg0)
fromNetwork(FriendlyByteBuf arg0)
method_732(class_2540 arg0)
m_bzdhtbyp(C_idfydwco arg0)
fromPacket(PacketByteBuf buf)
fromPacket(PacketByteBuf buf)
m_8211_(C_4983_ p_8212_)
public CriterionProgress
c(String arg0)
getCriterion(String arg0)
method_737(String arg0)
m_hyuuzqmm(String arg0)
getCriterionProgress(String name)
getCriterionProgress(String criterionName)
m_8214_(String arg0)
private boolean
d(String arg0)
isCriterionDone(String arg0)
method_53663(String arg0)
m_tzjkxqzv(String arg0)
isCriterionObtained(String name)
isComplete(String criterion)
m_293648_(String arg0)
public float
c()
getPercent()
method_735()
m_dbcilcfp()
getProgressBarPercentage()
getProgressBarPercentage()
m_8213_()
public Component
d()
getProgressText()
method_728()
m_rzxbanct()
getProgressBarFraction()
getProgressBarFraction()
m_8218_()
private int
h()
countCompletedRequirements()
method_736()
m_kzhoujvd()
countObtainedRequirements()
countObtainedRequirements()
m_8222_()
public Iterable<String>
e()
getRemainingCriteria()
method_731()
m_ugtyagjo()
getUnobtainedCriteria()
getIncompleteCriteria()
m_8219_()
public Iterable<String>
f()
getCompletedCriteria()
method_734()
m_nkqqucnn()
getObtainedCriteria()
getCompletedCriteria()
m_8220_()
public Instant
g()
getFirstProgressDate()
method_741()
m_vsrrtfha()
getEarliestProgressObtainDate()
getEarliestProgressCompletedDate()
m_8221_()
public int
a(ai arg0)
compareTo(AdvancementProgress arg0)
method_738(class_167 arg0)
m_vsqhanji(C_rpzbknxp arg0)
compareTo(AdvancementProgress arg0)
compareTo(AdvancementProgress arg0)
compareTo(C_2_ arg0)