Description
The smeltItem method in AbstractFurnaceWorkbenchEntity.java currently hardcodes the smelting output (coal or copper ingot) instead of resolving the active recipe result. With recipe-book integration, this will fail for any recipe whose output isn't one of the fixed items.
Task
Update the furnace workbench to:
- Resolve the active recipe result for the given input
- Use the recipe's result ItemStack for output handling and slot-finding
- Keep
canSmelt in sync with the same result
Context
Deferred from PR #25 to focus on Campfire workbench logic first.
Related:
Reporter: @coderabbitai[bot]
Requested by: @The-Code-Monkey
Description
The
smeltItemmethod inAbstractFurnaceWorkbenchEntity.javacurrently hardcodes the smelting output (coal or copper ingot) instead of resolving the active recipe result. With recipe-book integration, this will fail for any recipe whose output isn't one of the fixed items.Task
Update the furnace workbench to:
canSmeltin sync with the same resultContext
Deferred from PR #25 to focus on Campfire workbench logic first.
Related:
Reporter: @coderabbitai[bot]
Requested by: @The-Code-Monkey