Class CriterionProgress

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

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

    • obtainedTime

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

    • CriterionProgress

      public CriterionProgress()
    • CriterionProgress

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

    • isObtained

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

      @Nullable public @Nullable Instant getObtainedTime()
      Mappings:
      Namespace Name Mixin selector
      official d Lao;d()Ljava/time/Instant;
      intermediary method_786 Lnet/minecraft/class_178;method_786()Ljava/time/Instant;
      named getObtainedTime Lnet/minecraft/advancement/criterion/CriterionProgress;getObtainedTime()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 Lao;a(Lui;)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 Lao;b(Lui;)Lao;
      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;