Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom heat source support for soaking pot #385

Open
Foreck1 opened this issue Apr 9, 2022 · 0 comments
Open

Custom heat source support for soaking pot #385

Foreck1 opened this issue Apr 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Foreck1
Copy link
Contributor

Foreck1 commented Apr 9, 2022

Adding CraftTweaker support for different blockstates to be able to heat the soaking pot other than the campfire as well as supporting placement of it. This is for the purpose of allowing a plethora of possible heaters added to modpacks to be usable for soaking pot recipes of all kinds. The method would be as follows:

static void addSoakingHeatSource(
  IBlockState heatSource, // heat source block
  boolean renderSupport,  // will render supporting legs when over block (defaults to false)
  IBlock allowRender      // if renderSupport is true, render supporting legs regardless of IBlockState
);

Additionally, a removeSoakingHeatSource could be useful for people who don't want the campfire to be usable for whatever reason..

Examples of mods that allow for adding heat sources and could be useful for this implementation include:
Zen Foundry ( https://github.com/ZengineeringTeam/Foundry/blob/zen/src/main/java/exter/foundry/integration/crafttweaker/CrTHeatingHandler.java )
and Ex Sartagine Requiem ( https://github.com/Tfarcenim/ExSartagine/blob/c21a2db29b75d7b9738382e1f1e84e39f3a19355/src/main/java/subaraki/exsartagine/integration/CraftTweakerSupport.java#L116 )

@codetaylor codetaylor self-assigned this Apr 9, 2022
@codetaylor codetaylor added the enhancement New feature or request label Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants