public static class DynamicEntry.Serializer extends LeafEntry.Serializer<DynamicEntry>
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryFields(com.google.gson.JsonObject jsonObject,
DynamicEntry dynamicEntry,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
protected DynamicEntry |
fromJson(com.google.gson.JsonObject jsonObject,
com.google.gson.JsonDeserializationContext jsonDeserializationContext,
int int2,
int int3,
LootCondition[] lootCondition,
LootFunction[] lootFunction) |
fromJsonfromJson, toJsonpublic void addEntryFields(com.google.gson.JsonObject jsonObject,
DynamicEntry dynamicEntry,
com.google.gson.JsonSerializationContext jsonSerializationContext)
addEntryFields in class LeafEntry.Serializer<DynamicEntry>protected DynamicEntry fromJson(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
fromJson in class LeafEntry.Serializer<DynamicEntry>