public class ComplexRecipeJsonFactory extends Object
Modifier and Type | Field and Description |
---|---|
private SpecialRecipeSerializer<?> |
serializer |
Constructor and Description |
---|
ComplexRecipeJsonFactory(SpecialRecipeSerializer<?> serializer) |
Modifier and Type | Method and Description |
---|---|
static ComplexRecipeJsonFactory |
create(SpecialRecipeSerializer<?> serializer) |
void |
offerTo(Consumer<RecipeJsonProvider> exporter,
String recipeId) |
private final SpecialRecipeSerializer<?> serializer
public ComplexRecipeJsonFactory(SpecialRecipeSerializer<?> serializer)
public static ComplexRecipeJsonFactory create(SpecialRecipeSerializer<?> serializer)
public void offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)