Class CriterionProgress

java.lang.Object
net.minecraft.advancement.criterion.CriterionProgress

public class CriterionProgress extends Object
Mappings:
Namespace Name
official ak
intermediary net/minecraft/class_178
named net/minecraft/advancement/criterion/CriterionProgress
  • Field Details

    • FORMAT

      private static final SimpleDateFormat FORMAT
      Mappings:
      Namespace Name Mixin selector
      official a Lak;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;
    • obtainedDate

      @Nullable private @Nullable Date obtainedDate
      Mappings:
      Namespace Name Mixin selector
      official b Lak;b:Ljava/util/Date;
      intermediary field_1219 Lnet/minecraft/class_178;field_1219:Ljava/util/Date;
      named obtainedDate Lnet/minecraft/advancement/criterion/CriterionProgress;obtainedDate:Ljava/util/Date;
  • Constructor Details

    • CriterionProgress

      public CriterionProgress()
  • Method Details

    • isObtained

      public boolean isObtained()
      Mappings:
      Namespace Name Mixin selector
      official a Lak;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 Lak;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 Lak;c()V
      intermediary method_790 Lnet/minecraft/class_178;method_790()V
      named reset Lnet/minecraft/advancement/criterion/CriterionProgress;reset()V
    • getObtainedDate

      @Nullable public @Nullable Date getObtainedDate()
      Mappings:
      Namespace Name Mixin selector
      official d Lak;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

      public String toString()
      Overrides:
      toString in class Object
    • toPacket

      public void toPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Lsf;)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

      public JsonElement toJson()
      Mappings:
      Namespace Name Mixin selector
      official e Lak;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

      public static CriterionProgress fromPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official b Lak;b(Lsf;)Lak;
      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

      public static CriterionProgress obtainedAt(String datetime)
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Ljava/lang/String;)Lak;
      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;