Create

Create

86M Downloads

Move stuff intended to be used by other mods into the `api` package to keep integrity between updates.

Lgmrszd opened this issue ยท 1 comments

commented

Describe the Suggestion

As of right now, com.simibubi.create.api package contains not that much: methods to add custom spouting behavior, few events and handlers for multiblock connectivity. For everything else, other mods have to rely on internal implementation, which tends to change across updates. I suggest to outline some of the functionality of Create and move/abstract it into the api package, with the efforts of keeping it the same.

Functionality that can be moved to the API package as is:

  • BacktankUtil: addBacktankSupplier, as well as other methods, or the entire class
    • Related: if #5107 gets merged, both IAirSource interface and BacktankUtil class can be moved (possibly with some renames)
  • GogglesItem.addIsWearingPredicate
  • BoilerHeaters
  • If #5163 gets merged: AbstractFanProcessingType

I probably missed some of the common used methods, but I think the main idea is clear.

Screenshots and Videos

No response

Additional Context

No response

commented

@PepperCode1 Is this implemented or not planned? ๐Ÿ‘€