Class CriterionProgress

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

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

    • obtainedDate

      @Nullable private @Nullable Instant obtainedDate
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a:Ljava/time/Instant;
      intermediary field_1219 Lnet/minecraft/class_178;field_1219:Ljava/time/Instant;
      named obtainedDate Lnet/minecraft/advancement/criterion/CriterionProgress;obtainedDate:Ljava/time/Instant;
  • Constructor Details

    • CriterionProgress

      public CriterionProgress()
    • CriterionProgress

      public CriterionProgress(Instant instant)
  • Method Details

    • isObtained

      public boolean isObtained()
      Mappings:
      Namespace Name Mixin selector
      official a Lan;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 Lan;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 Lan;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 Instant getObtainedDate()
      Mappings:
      Namespace Name Mixin selector
      official d Lan;d()Ljava/time/Instant;
      intermediary method_786 Lnet/minecraft/class_178;method_786()Ljava/time/Instant;
      named getObtainedDate Lnet/minecraft/advancement/criterion/CriterionProgress;getObtainedDate()Ljava/time/Instant;
    • toString

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

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

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