HeatCondition API: The Sequel#9948
Open
vercte wants to merge 4 commits intoCreators-of-Create:mc1.21.1/devfrom
Open
HeatCondition API: The Sequel#9948vercte wants to merge 4 commits intoCreators-of-Create:mc1.21.1/devfrom
vercte wants to merge 4 commits intoCreators-of-Create:mc1.21.1/devfrom
Conversation
Co-authored-by: TropheusJ <60247969+tropheusj@users.noreply.github.com>
TropheusJ
requested changes
Feb 9, 2026
Collaborator
TropheusJ
left a comment
There was a problem hiding this comment.
looks good besides a few tweaks
src/main/java/com/simibubi/create/api/recipe/HeatCondition.java
Outdated
Show resolved
Hide resolved
src/main/java/com/simibubi/create/api/recipe/HeatCondition.java
Outdated
Show resolved
Hide resolved
src/main/java/com/simibubi/create/content/processing/recipe/BlazeBurnerHeatCondition.java
Outdated
Show resolved
Hide resolved
src/main/java/com/simibubi/create/content/processing/recipe/BlazeBurnerHeatCondition.java
Show resolved
Hide resolved
src/main/java/com/simibubi/create/content/processing/recipe/ProcessingRecipeBuilder.java
Outdated
Show resolved
Hide resolved
HeatCondition.NONE no longer exists, now just will be a null value; ProcessingRecipeParams serialization modified to support this; references changed from BlazeBurnerHeatCondition to AllHeatConditions; translation keys are now based off of the registered heat condition; item hints are now cached; datagen now supports all heat conditions
Collaborator
Author
|
Okay, these have been implemented. Thanks for the feedback :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this is a remade version of #8654 for 1.21.1.
This PR adds the
HeatConditioninterface and registry, which allows addon developers to register custom heating conditions for recipes. It also provides convenient hooks in order to display these conditions properly in JEI.The ProcessingRecipe syntax has changed, and
heat_requirementis now a namespaced property (heated->create:heated). However, to maintain compatibility with datapacks,createwill be the default namespace. A new heat type,create:none, was added as the default for this property.Here's the example mod shown in the image: https://github.com/vercte/create-heatcondition-api-example (it has a GitHub release, but I would just recommend loading it in IntelliJ.)