public static class LootConditions.Factory extends Object implements JsonDeserializer<LootCondition>, JsonSerializer<LootCondition>
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
LootCondition |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
JsonElement |
serialize(LootCondition lootCondition,
Type type,
JsonSerializationContext jsonSerializationContext) |
public LootCondition deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize in interface JsonDeserializer<LootCondition>JsonParseExceptionpublic JsonElement serialize(LootCondition lootCondition, Type type, JsonSerializationContext jsonSerializationContext)
serialize in interface JsonSerializer<LootCondition>