Skip to content

Fix HeatJS custom heat source overlapping Blaze Burner in JEI categories#153

Closed
konkentrate wants to merge 3 commits into
Lucreeper74:mc1.21.1/devfrom
konkentrate:mc1.21.1/dev
Closed

Fix HeatJS custom heat source overlapping Blaze Burner in JEI categories#153
konkentrate wants to merge 3 commits into
Lucreeper74:mc1.21.1/devfrom
konkentrate:mc1.21.1/dev

Conversation

@konkentrate
Copy link
Copy Markdown
Contributor

When a recipe had a custom HeatJS heat source, the Blaze Burner was still being drawn on top of it in the Melting and Alloying JEI categories.

CategoryHelper.drawCustomHeatSource already returns a boolean for exactly this case, but the return value was never used. Added a customHeatSource flag to FoundryBasinCategory to track it, skip the Blaze Burner draw in the subclasses when a custom source is already rendered.

@Lucreeper74 Lucreeper74 added the fixed / added in next update ✅ This bug as been fixed and will be available in the next update of C:Metallurgy label May 15, 2026
@Lucreeper74
Copy link
Copy Markdown
Owner

I reject this PR, I just made what HeatJS mixin injection normally do with regular Create categories classes to prevent unexpected behavior in the future. This also allow to use independent yOffset value for each category heat source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixed / added in next update ✅ This bug as been fixed and will be available in the next update of C:Metallurgy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants