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.
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 forRecipeMapMultiblockController
s. If the PR is accepted, I will change the behaviour for all multiblocks which override the defaultaddDisplayText
method as well.Additional Information
A screenshot from the LCR is attached.