Package net.minecraft.advancements
Class CriterionProgress
- java.lang.Object
-
- net.minecraft.advancements.CriterionProgress
-
public class CriterionProgress extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.text.SimpleDateFormat
DATE_FORMAT
private java.util.Date
obtained
-
Constructor Summary
Constructors Constructor Description CriterionProgress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CriterionProgress
fromJson(java.lang.String p_209541_0_)
static CriterionProgress
fromNetwork(PacketBuffer p_192149_0_)
java.util.Date
getObtained()
void
grant()
boolean
isDone()
void
revoke()
com.google.gson.JsonElement
serializeToJson()
void
serializeToNetwork(PacketBuffer p_192150_1_)
java.lang.String
toString()
-
-
-
Method Detail
-
isDone
public boolean isDone()
-
grant
public void grant()
-
revoke
public void revoke()
-
getObtained
public java.util.Date getObtained()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
serializeToNetwork
public void serializeToNetwork(PacketBuffer p_192150_1_)
-
serializeToJson
public com.google.gson.JsonElement serializeToJson()
-
fromNetwork
public static CriterionProgress fromNetwork(PacketBuffer p_192149_0_)
-
fromJson
public static CriterionProgress fromJson(java.lang.String p_209541_0_)
-
-