public class CriterionProgress
extends java.lang.Object
Constructor and Description |
---|
CriterionProgress(AdvancementProgress advancementProgressIn) |
Modifier and Type | Method and Description |
---|---|
static CriterionProgress |
fromDateTime(AdvancementProgress advancementProgressIn,
java.lang.String dateTime) |
java.util.Date |
getObtained() |
boolean |
isObtained() |
void |
obtain() |
static CriterionProgress |
read(PacketBuffer buf,
AdvancementProgress advancementProgressIn) |
void |
reset() |
com.google.gson.JsonElement |
serialize() |
java.lang.String |
toString() |
void |
write(PacketBuffer buf) |
public CriterionProgress(AdvancementProgress advancementProgressIn)
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, AdvancementProgress advancementProgressIn)
public static CriterionProgress fromDateTime(AdvancementProgress advancementProgressIn, java.lang.String dateTime)