public class CriterionProgress
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.text.SimpleDateFormat |
DATE_TIME_FORMATTER |
private java.util.Date |
obtained |
Constructor and Description |
---|
CriterionProgress() |
Modifier and Type | Method and Description |
---|---|
static CriterionProgress |
fromJson(java.lang.String p_209541_0_) |
java.util.Date |
getObtained() |
boolean |
isObtained() |
void |
obtain() |
static CriterionProgress |
read(PacketBuffer buf) |
void |
reset() |
com.google.gson.JsonElement |
serialize() |
java.lang.String |
toString() |
void |
write(PacketBuffer buf) |
private static final java.text.SimpleDateFormat DATE_TIME_FORMATTER
private java.util.Date obtained
public boolean isObtained()
public void obtain()
public void reset()
public java.util.Date getObtained()
public java.lang.String toString()
toString
in class java.lang.Object
public void write(PacketBuffer buf)
public com.google.gson.JsonElement serialize()
public static CriterionProgress read(PacketBuffer buf)
public static CriterionProgress fromJson(java.lang.String p_209541_0_)