TFMG Distillation Controller Reference Fix
Makes a TFMG 1.2.0 distillation recipe use the steel tank's loaded main controller instead of the adjacent tank part.
The problem
A distillation controller attached to a non-main tank part can stop processing even when the main tank has heat. The adjacent part can report zero heat, and the native part-specific dimension check can also reject a one-block-wide tower that works when attached to its main tank block.
Why it happens
The recipe finds the adjacent steel-tank block entity and uses that object for heat and structure checks. A tank part and its main controller are different objects; their stored heat values need not match.
Scope of the fix
Only the recipe's adjacent-tank lookup is redirected. A valid tank part resolves to its loaded main controller before the native recipe continues. If the controller is missing, removed, unloaded, belongs to another level or is no longer a main controller, processing returns without consuming input. Other adjacent block-entity types keep the native path.
Recipe definitions, native input consumption, product quantities, output modes, heat requirements and main-controller dimension rules are preserved. The addon does not generate heat, persist tower state, rebuild a tower, scan for heaters, load chunks, change blocks or add server balance rules. It does not repair the separate loss of tower state after a reload or change the goggle tooltip.
Compatibility
- Minecraft 1.21.1, Java 21
- NeoForge 21.1.235 exactly
- Create 6.0.10
- Create: The Factory Must Grow (TFMG) 1.2.0 exactly, installed separately
- Dedicated server only; clients do not need this addon
Integrated singleplayer, other TFMG releases and Community Edition are not claimed compatible. The main controller still needs working native heat detection. Other heat or recipe rewrites, including TFMW, need separate compatibility checks; this addon is not a substitute for their broader fixes or content.
Keep one copy of mod ID tfmg_distillation_controller_reference_fix. The addon does not require SteamSteelCore or Companion.
From Steam & Steel
The correction originated while maintaining Steam & Steel SMP, our custom Minecraft 1.21.1 NeoForge server modpack using Create 6.0.10 and TFMG 1.2.0. The original server-pack repair covered multiple tank and tower issues. This standalone addon extracts only recipe controller-reference normalization.
Acknowledgements
TFMG is by DrMangoTea, Pepa, Luna and its contributors. Create remains the work of its original developers. Upstream issue 384 discusses the separate controller-reference and reload problems.
This is an independent community addon. No upstream classes, assets or libraries are bundled.
Beta / Feedback
This is a beta release. Actual Sponge Mixin server application and client exclusion were checked against the exact libraries above. Controlled tests executed the native recipe, native controller getters and actual merged redirect across 3,456 scenarios per mode. They reproduced stalled valid child-tank controls and checked native quantities, output blocking, one-block-wide dimensions, controller restoration and missing, removed, unloaded or invalid controllers. Instructions in the other 16 native methods were preserved; computed stack-map frames may differ.
These tests use controlled world, recipe and fluid hosts. They do not establish full modloader startup, real chunk lifecycle, modpack compatibility or gameplay acceptance. The server-pack origin is not a claim that this standalone package has passed those stages.
If you encounter a crash, an error or unexpected behaviour, please leave a comment with your Minecraft, NeoForge, Create, TFMG and addon versions, plus steps to reproduce the problem. Remove private information from attached logs. We will investigate reported bugs and work on fixes.
License
Addon code and original project artwork are licensed under BSD 3-Clause. Copyright (c) 2026, DanielBasov (Steam & Steel). Forks, fixes and redistribution are permitted; retain the author attribution, license conditions and disclaimer in source distributions and in the materials accompanying binary distributions. A fork may not imply endorsement by the original author.
The project icon is original matte pixel artwork rendered through the saved V3 pipeline. Original mods retain their own licenses; no upstream artwork is included.