Package net.minecraft.advancements
Class AdvancementProgress
java.lang.Object
net.minecraft.advancements.AdvancementProgress
- All Implemented Interfaces:
Comparable<AdvancementProgress>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(AdvancementProgress p_compareTo_1_) private int
static AdvancementProgress
fromNetwork
(PacketBuffer p_192100_0_) getCriterion
(String p_192106_1_) float
boolean
grantProgress
(String p_192109_1_) boolean
boolean
isDone()
boolean
revokeProgress
(String p_192101_1_) void
serializeToNetwork
(PacketBuffer p_192104_1_) toString()
void
-
Field Details
-
criteria
-
requirements
-
-
Constructor Details
-
AdvancementProgress
public AdvancementProgress()
-
-
Method Details
-
update
-
isDone
public boolean isDone() -
hasProgress
public boolean hasProgress() -
grantProgress
-
revokeProgress
-
toString
-
serializeToNetwork
-
fromNetwork
-
getCriterion
-
getPercent
public float getPercent() -
getProgressText
-
countCompletedRequirements
private int countCompletedRequirements() -
getRemainingCriteria
-
getCompletedCriteria
-
getFirstProgressDate
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AdvancementProgress>
-