Class CriterionProgress
java.lang.Object
net.minecraft.advancement.criterion.CriterionProgress
public class CriterionProgress extends Object
- Mappings:
Namespace Name official ae
intermediary net/minecraft/class_178
named net/minecraft/advancement/criterion/CriterionProgress
-
Field Summary
Fields Modifier and Type Field Description private static SimpleDateFormat
FORMAT
private Date
obtained
-
Constructor Summary
Constructors Constructor Description CriterionProgress()
-
Method Summary
Modifier and Type Method Description static CriterionProgress
fromPacket(PacketByteBuf buf)
Date
getObtainedDate()
boolean
isObtained()
void
obtain()
static CriterionProgress
obtainedAt(String datetime)
void
reset()
JsonElement
toJson()
void
toPacket(PacketByteBuf buf)
String
toString()
-
Field Details
-
FORMAT
- Mappings:
Namespace Name Mixin selector official a
Lae;a:Ljava/text/SimpleDateFormat;
intermediary field_1220
Lnet/minecraft/class_178;field_1220:Ljava/text/SimpleDateFormat;
named FORMAT
Lnet/minecraft/advancement/criterion/CriterionProgress;FORMAT:Ljava/text/SimpleDateFormat;
-
obtained
- Mappings:
Namespace Name Mixin selector official b
Lae;b:Ljava/util/Date;
intermediary field_1219
Lnet/minecraft/class_178;field_1219:Ljava/util/Date;
named obtained
Lnet/minecraft/advancement/criterion/CriterionProgress;obtained:Ljava/util/Date;
-
-
Constructor Details
-
CriterionProgress
public CriterionProgress()
-
-
Method Details
-
isObtained
public boolean isObtained()- Mappings:
Namespace Name Mixin selector official a
Lae;a()Z
intermediary method_784
Lnet/minecraft/class_178;method_784()Z
named isObtained
Lnet/minecraft/advancement/criterion/CriterionProgress;isObtained()Z
-
obtain
public void obtain()- Mappings:
Namespace Name Mixin selector official b
Lae;b()V
intermediary method_789
Lnet/minecraft/class_178;method_789()V
named obtain
Lnet/minecraft/advancement/criterion/CriterionProgress;obtain()V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector official c
Lae;c()V
intermediary method_790
Lnet/minecraft/class_178;method_790()V
named reset
Lnet/minecraft/advancement/criterion/CriterionProgress;reset()V
-
getObtainedDate
- Mappings:
Namespace Name Mixin selector official d
Lae;d()Ljava/util/Date;
intermediary method_786
Lnet/minecraft/class_178;method_786()Ljava/util/Date;
named getObtainedDate
Lnet/minecraft/advancement/criterion/CriterionProgress;getObtainedDate()Ljava/util/Date;
-
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lae;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_178;toString()Ljava/lang/String;
named toString
Lnet/minecraft/advancement/criterion/CriterionProgress;toString()Ljava/lang/String;
-
toPacket
- Mappings:
Namespace Name Mixin selector official a
Lae;a(Lnw;)V
intermediary method_787
Lnet/minecraft/class_178;method_787(Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/advancement/criterion/CriterionProgress;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
toJson
- Mappings:
Namespace Name Mixin selector official e
Lae;e()Lcom/google/gson/JsonElement;
intermediary method_783
Lnet/minecraft/class_178;method_783()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/advancement/criterion/CriterionProgress;toJson()Lcom/google/gson/JsonElement;
-
fromPacket
- Mappings:
Namespace Name Mixin selector official b
Lae;b(Lnw;)Lae;
intermediary method_785
Lnet/minecraft/class_178;method_785(Lnet/minecraft/class_2540;)Lnet/minecraft/class_178;
named fromPacket
Lnet/minecraft/advancement/criterion/CriterionProgress;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/advancement/criterion/CriterionProgress;
-
obtainedAt
- Mappings:
Namespace Name Mixin selector official a
Lae;a(Ljava/lang/String;)Lae;
intermediary method_788
Lnet/minecraft/class_178;method_788(Ljava/lang/String;)Lnet/minecraft/class_178;
named obtainedAt
Lnet/minecraft/advancement/criterion/CriterionProgress;obtainedAt(Ljava/lang/String;)Lnet/minecraft/advancement/criterion/CriterionProgress;
-