public static class FillPlayerHeadLootFunction.Serializer extends ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
FillPlayerHeadLootFunction |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
void |
toJson(JsonObject jsonObject,
FillPlayerHeadLootFunction fillPlayerHeadLootFunction,
JsonSerializationContext jsonSerializationContext) |
fromJson
public void toJson(JsonObject jsonObject, FillPlayerHeadLootFunction fillPlayerHeadLootFunction, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<FillPlayerHeadLootFunction>
toJson
in class ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
public FillPlayerHeadLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson
in class ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>