Class CriterionProgress

java.lang.Object
net.minecraft.advancements.CriterionProgress

public class CriterionProgress extends Object
  • Field Details

    • obtained

      @Nullable private Instant obtained
  • Constructor Details

    • CriterionProgress

      public CriterionProgress()
    • CriterionProgress

      public CriterionProgress(Instant p_299196_)
  • Method Details

    • isDone

      public boolean isDone()
    • grant

      public void grant()
    • revoke

      public void revoke()
    • getObtained

      @Nullable public Instant getObtained()
    • toString

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

      public void serializeToNetwork(FriendlyByteBuf p_12915_)
    • fromNetwork

      public static CriterionProgress fromNetwork(FriendlyByteBuf p_12918_)