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