public static class SurvivesExplosion.Serializer extends ILootCondition.AbstractSerializer<SurvivesExplosion>
Modifier | Constructor and Description |
---|---|
protected |
Serializer() |
Modifier and Type | Method and Description |
---|---|
SurvivesExplosion |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
serialize(com.google.gson.JsonObject json,
SurvivesExplosion value,
com.google.gson.JsonSerializationContext context) |
getConditionClass, getLootTableLocation
public void serialize(com.google.gson.JsonObject json, SurvivesExplosion value, com.google.gson.JsonSerializationContext context)
serialize
in class ILootCondition.AbstractSerializer<SurvivesExplosion>
public SurvivesExplosion deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserialize
in class ILootCondition.AbstractSerializer<SurvivesExplosion>