public static class TagEntry.Serializer extends LeafEntry.Serializer<TagEntry>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
protected TagEntry |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
int int2,
int int3,
LootCondition[] lootCondition,
LootFunction[] lootFunction) |
void |
toJson(JsonObject jsonObject,
TagEntry tagEntry,
JsonSerializationContext jsonSerializationContext) |
fromJson
getIdentifier, getType
public void toJson(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext)
toJson
in class LeafEntry.Serializer<TagEntry>
protected TagEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
fromJson
in class LeafEntry.Serializer<TagEntry>