Skip to content

[API Suggestion] Add support for custom ProcessingRecipeParams to BasinRecipe #9066

@dudek26

Description

@dudek26

Hello!

In 1.21.1, BasinRecipe extends StandardProcessingRecipe forcing its inheritors to use ProcessingRecipeParams in their serializers. My suggestion is that BasinRecipe could have a type parameter for custom ProcessingRecipeParams and extend ProcessingRecipe instead, and MixingRecipe and CompactingRecipe could still use ProcessingRecipeParams.

This change would allow addons to define Basin recipes with custom parameters. For example, my addon (Create: Blazing Hot) adds Blaze Mixing recipe, which has an extra parameter of fuel, and I'm unable to use my custom BlazeMixingRecipeParams in serializer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apiIssue or PR is related to API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions