GregTechCEu / GregTech

GregTech CE 1.12 fork continuing progression and development
GNU Lesser General Public License v3.0
255 stars 176 forks source link

Add Recipe Outputs in GUI of Multiblocks with RecipeMap #2673

Open Rundas01 opened 3 days ago

Rundas01 commented 3 days ago

What

This is a port of a feature from GTNH, where multiblock GUIs show what items/fluids they are currently crafting.

Implementation Details

Maybe the helper methods to convert the recipe outputs to a string are better placed inside another class than MultiblockDisplayText. For now, I have only changed the behaviour for RecipeMapMultiblockControllers. If the PR is accepted, I will change the behaviour for all multiblocks which override the default addDisplayText method as well.

Additional Information

A screenshot from the LCR is attached. Screenshot (737)