Class CriterionProgress

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

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

    • obtainedTime

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

    • CriterionProgress

      public CriterionProgress()
    • CriterionProgress

      public CriterionProgress(Instant obtainedTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/advancement/criterion/CriterionProgress;<init>(Ljava/time/Instant;)V
      intermediary <init> Lnet/minecraft/class_178;<init>(Ljava/time/Instant;)V
      official <init> Laq;<init>(Ljava/time/Instant;)V
  • Method Details

    • isObtained

      public boolean isObtained()
      Mappings:
      Namespace Name Mixin selector
      named isObtained Lnet/minecraft/advancement/criterion/CriterionProgress;isObtained()Z
      intermediary method_784 Lnet/minecraft/class_178;method_784()Z
      official a Laq;a()Z
    • obtain

      public void obtain()
      Mappings:
      Namespace Name Mixin selector
      named obtain Lnet/minecraft/advancement/criterion/CriterionProgress;obtain()V
      intermediary method_789 Lnet/minecraft/class_178;method_789()V
      official b Laq;b()V
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/advancement/criterion/CriterionProgress;reset()V
      intermediary method_790 Lnet/minecraft/class_178;method_790()V
      official c Laq;c()V
    • getObtainedTime

      @Nullable public @Nullable Instant getObtainedTime()
      Mappings:
      Namespace Name Mixin selector
      named getObtainedTime Lnet/minecraft/advancement/criterion/CriterionProgress;getObtainedTime()Ljava/time/Instant;
      intermediary method_786 Lnet/minecraft/class_178;method_786()Ljava/time/Instant;
      official d Laq;d()Ljava/time/Instant;
    • toString

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

      public void toPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named toPacket Lnet/minecraft/advancement/criterion/CriterionProgress;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_787 Lnet/minecraft/class_178;method_787(Lnet/minecraft/class_2540;)V
      official a Laq;a(Lws;)V
    • fromPacket

      public static CriterionProgress fromPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named fromPacket Lnet/minecraft/advancement/criterion/CriterionProgress;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/advancement/criterion/CriterionProgress;
      intermediary method_785 Lnet/minecraft/class_178;method_785(Lnet/minecraft/class_2540;)Lnet/minecraft/class_178;
      official b Laq;b(Lws;)Laq;