net.minecraft.advancements

public class AdvancementProgress

implements Comparable<AdvancementProgress>

aj
net.minecraft.advancements.AdvancementProgress
net.minecraft.class_167
net.minecraft.advancement.AdvancementProgress
net.minecraft.advancements.AdvancementProgress

Field summary

Modifier and TypeField
private static final DateTimeFormatter
b
OBTAINED_TIME_FORMAT
field_46081
TIME_FORMATTER
private static final com.mojang.serialization.Codec<Instant>
c
OBTAINED_TIME_CODEC
field_46082
TIME_CODEC
private static final com.mojang.serialization.Codec<Map<String, CriterionProgress>>
d
CRITERIA_CODEC
field_46083
MAP_CODEC
public static final com.mojang.serialization.Codec<AdvancementProgress>
a
CODEC
field_46080
CODEC
private final Map<String, CriterionProgress>
e
criteria
field_1160
criteriaProgresses
private AdvancementRequirements
f
requirements
field_1161
requirements

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ak arg0)
update(AdvancementRequirements arg0)
method_727(class_8782 arg0)
init(AdvancementRequirements requirements)
public boolean
a()
isDone()
method_740()
isDone()
public boolean
b()
hasProgress()
method_742()
isAnyObtained()
public boolean
a(String arg0)
grantProgress(String arg0)
method_743(String arg0)
obtain(String name)
public boolean
b(String arg0)
revokeProgress(String arg0)
method_729(String arg0)
reset(String name)
public void
a(ws arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_733(class_2540 arg0)
toPacket(PacketByteBuf buf)
public static AdvancementProgress
b(ws arg0)
fromNetwork(FriendlyByteBuf arg0)
method_732(class_2540 arg0)
fromPacket(PacketByteBuf buf)
public CriterionProgress
c(String arg0)
getCriterion(String arg0)
method_737(String arg0)
getCriterionProgress(String name)
private boolean
d(String arg0)
isCriterionDone(String arg0)
method_53663(String arg0)
isCriterionObtained(String name)
public float
c()
getPercent()
method_735()
getProgressBarPercentage()
public Component
d()
getProgressText()
method_728()
getProgressBarFraction()
private int
h()
countCompletedRequirements()
method_736()
countObtainedRequirements()
public Iterable<String>
e()
getRemainingCriteria()
method_731()
getUnobtainedCriteria()
public Iterable<String>
f()
getCompletedCriteria()
method_734()
getObtainedCriteria()
public Instant
g()
getFirstProgressDate()
method_741()
getEarliestProgressObtainDate()
public int
a(aj arg0)
compareTo(AdvancementProgress arg0)
method_738(class_167 arg0)
compareTo(AdvancementProgress arg0)