Package net.minecraft.advancement
Class AdvancementProgress
java.lang.Object
net.minecraft.advancement.AdvancementProgress
- All Implemented Interfaces:
Comparable<AdvancementProgress>
public class AdvancementProgress extends Object implements Comparable<AdvancementProgress>
- Mappings:
Namespace Name official aa
intermediary net/minecraft/class_167
named net/minecraft/advancement/AdvancementProgress
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdvancementProgress.Serializer
-
Field Summary
Fields Modifier and Type Field Description private Map<String,CriterionProgress>
criteriaProgresses
private String[][]
requirements
-
Constructor Summary
Constructors Constructor Description AdvancementProgress()
-
Method Summary
Modifier and Type Method Description int
compareTo(AdvancementProgress advancementProgress)
private int
countObtainedRequirements()
static AdvancementProgress
fromPacket(PacketByteBuf buf)
CriterionProgress
getCriterionProgress(String name)
Date
getEarliestProgressObtainDate()
Iterable<String>
getObtainedCriteria()
String
getProgressBarFraction()
float
getProgressBarPercentage()
Iterable<String>
getUnobtainedCriteria()
void
init(Map<String,AdvancementCriterion> criteria, String[][] requirements)
boolean
isAnyObtained()
boolean
isDone()
boolean
obtain(String name)
boolean
reset(String name)
void
toPacket(PacketByteBuf buf)
String
toString()
-
Field Details
-
criteriaProgresses
- Mappings:
Namespace Name Mixin selector official a
Laa;a:Ljava/util/Map;
intermediary field_1160
Lnet/minecraft/class_167;field_1160:Ljava/util/Map;
named criteriaProgresses
Lnet/minecraft/advancement/AdvancementProgress;criteriaProgresses:Ljava/util/Map;
-
requirements
- Mappings:
Namespace Name Mixin selector official b
Laa;b:[[Ljava/lang/String;
intermediary field_1161
Lnet/minecraft/class_167;field_1161:[[Ljava/lang/String;
named requirements
Lnet/minecraft/advancement/AdvancementProgress;requirements:[[Ljava/lang/String;
-
-
Constructor Details
-
AdvancementProgress
public AdvancementProgress()
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector official a
Laa;a(Ljava/util/Map;[[Ljava/lang/String;)V
intermediary method_727
Lnet/minecraft/class_167;method_727(Ljava/util/Map;[[Ljava/lang/String;)V
named init
Lnet/minecraft/advancement/AdvancementProgress;init(Ljava/util/Map;[[Ljava/lang/String;)V
-
isDone
public boolean isDone()- Mappings:
Namespace Name Mixin selector official a
Laa;a()Z
intermediary method_740
Lnet/minecraft/class_167;method_740()Z
named isDone
Lnet/minecraft/advancement/AdvancementProgress;isDone()Z
-
isAnyObtained
public boolean isAnyObtained()- Mappings:
Namespace Name Mixin selector official b
Laa;b()Z
intermediary method_742
Lnet/minecraft/class_167;method_742()Z
named isAnyObtained
Lnet/minecraft/advancement/AdvancementProgress;isAnyObtained()Z
-
obtain
- Mappings:
Namespace Name Mixin selector official a
Laa;a(Ljava/lang/String;)Z
intermediary method_743
Lnet/minecraft/class_167;method_743(Ljava/lang/String;)Z
named obtain
Lnet/minecraft/advancement/AdvancementProgress;obtain(Ljava/lang/String;)Z
-
reset
- Mappings:
Namespace Name Mixin selector official b
Laa;b(Ljava/lang/String;)Z
intermediary method_729
Lnet/minecraft/class_167;method_729(Ljava/lang/String;)Z
named reset
Lnet/minecraft/advancement/AdvancementProgress;reset(Ljava/lang/String;)Z
-
toString
-
toPacket
- Mappings:
Namespace Name Mixin selector official a
Laa;a(Lnw;)V
intermediary method_733
Lnet/minecraft/class_167;method_733(Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/advancement/AdvancementProgress;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Mappings:
Namespace Name Mixin selector official b
Laa;b(Lnw;)Laa;
intermediary method_732
Lnet/minecraft/class_167;method_732(Lnet/minecraft/class_2540;)Lnet/minecraft/class_167;
named fromPacket
Lnet/minecraft/advancement/AdvancementProgress;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/advancement/AdvancementProgress;
-
getCriterionProgress
- Mappings:
Namespace Name Mixin selector official c
Laa;c(Ljava/lang/String;)Lae;
intermediary method_737
Lnet/minecraft/class_167;method_737(Ljava/lang/String;)Lnet/minecraft/class_178;
named getCriterionProgress
Lnet/minecraft/advancement/AdvancementProgress;getCriterionProgress(Ljava/lang/String;)Lnet/minecraft/advancement/criterion/CriterionProgress;
-
getProgressBarPercentage
- Mappings:
Namespace Name Mixin selector official c
Laa;c()F
intermediary method_735
Lnet/minecraft/class_167;method_735()F
named getProgressBarPercentage
Lnet/minecraft/advancement/AdvancementProgress;getProgressBarPercentage()F
-
getProgressBarFraction
- Mappings:
Namespace Name Mixin selector official d
Laa;d()Ljava/lang/String;
intermediary method_728
Lnet/minecraft/class_167;method_728()Ljava/lang/String;
named getProgressBarFraction
Lnet/minecraft/advancement/AdvancementProgress;getProgressBarFraction()Ljava/lang/String;
-
countObtainedRequirements
- Mappings:
Namespace Name Mixin selector official h
Laa;h()I
intermediary method_736
Lnet/minecraft/class_167;method_736()I
named countObtainedRequirements
Lnet/minecraft/advancement/AdvancementProgress;countObtainedRequirements()I
-
getUnobtainedCriteria
- Mappings:
Namespace Name Mixin selector official e
Laa;e()Ljava/lang/Iterable;
intermediary method_731
Lnet/minecraft/class_167;method_731()Ljava/lang/Iterable;
named getUnobtainedCriteria
Lnet/minecraft/advancement/AdvancementProgress;getUnobtainedCriteria()Ljava/lang/Iterable;
-
getObtainedCriteria
- Mappings:
Namespace Name Mixin selector official f
Laa;f()Ljava/lang/Iterable;
intermediary method_734
Lnet/minecraft/class_167;method_734()Ljava/lang/Iterable;
named getObtainedCriteria
Lnet/minecraft/advancement/AdvancementProgress;getObtainedCriteria()Ljava/lang/Iterable;
-
getEarliestProgressObtainDate
- Mappings:
Namespace Name Mixin selector official g
Laa;g()Ljava/util/Date;
intermediary method_741
Lnet/minecraft/class_167;method_741()Ljava/util/Date;
named getEarliestProgressObtainDate
Lnet/minecraft/advancement/AdvancementProgress;getEarliestProgressObtainDate()Ljava/util/Date;
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AdvancementProgress>
- Mappings:
Namespace Name Mixin selector official a
Laa;a(Laa;)I
intermediary method_738
Lnet/minecraft/class_167;method_738(Lnet/minecraft/class_167;)I
named compareTo
Lnet/minecraft/advancement/AdvancementProgress;compareTo(Lnet/minecraft/advancement/AdvancementProgress;)I
-