public static class SurvivesExplosionLootCondition.Serializer extends Object implements JsonSerializer<SurvivesExplosionLootCondition>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
SurvivesExplosionLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
SurvivesExplosionLootCondition survivesExplosionLootCondition,
JsonSerializationContext jsonSerializationContext) |
public void toJson(JsonObject jsonObject, SurvivesExplosionLootCondition survivesExplosionLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<SurvivesExplosionLootCondition>
public SurvivesExplosionLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in interface JsonSerializer<SurvivesExplosionLootCondition>