public class Criterion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ICriterionInstance |
criterionInstance |
Constructor and Description |
---|
Criterion() |
Criterion(ICriterionInstance p_i47470_1_) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,Criterion> |
criteriaFromJson(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
static java.util.Map<java.lang.String,Criterion> |
criteriaFromNetwork(PacketBuffer bus) |
static Criterion |
criterionFromJson(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
static Criterion |
criterionFromNetwork(PacketBuffer p_192146_0_) |
ICriterionInstance |
getCriterionInstance() |
com.google.gson.JsonElement |
serialize() |
static void |
serializeToNetwork(java.util.Map<java.lang.String,Criterion> criteria,
PacketBuffer buf) |
void |
serializeToNetwork(PacketBuffer p_192140_1_) |
private final ICriterionInstance criterionInstance
public Criterion(ICriterionInstance p_i47470_1_)
public Criterion()
public void serializeToNetwork(PacketBuffer p_192140_1_)
public static Criterion criterionFromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public static Criterion criterionFromNetwork(PacketBuffer p_192146_0_)
public static java.util.Map<java.lang.String,Criterion> criteriaFromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public static java.util.Map<java.lang.String,Criterion> criteriaFromNetwork(PacketBuffer bus)
public static void serializeToNetwork(java.util.Map<java.lang.String,Criterion> criteria, PacketBuffer buf)
@Nullable public ICriterionInstance getCriterionInstance()
public com.google.gson.JsonElement serialize()