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 ap
  • 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 Lap;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> Lap;<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 Lap;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 Lap;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 Lap;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 Lap;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 Lap;a(Lvv;)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 Lap;b(Lvv;)Lap;