File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/main/java/gregtech/common/metatileentities/multi/multiblockpart Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4141import codechicken .lib .render .pipeline .IVertexOperation ;
4242import codechicken .lib .vec .Matrix4 ;
4343import com .cleanroommc .modularui .api .drawable .IKey ;
44+ import com .cleanroommc .modularui .drawable .DynamicDrawable ;
4445import com .cleanroommc .modularui .drawable .ItemDrawable ;
4546import com .cleanroommc .modularui .screen .ModularPanel ;
4647import com .cleanroommc .modularui .screen .UISettings ;
@@ -131,9 +132,11 @@ public boolean shouldOpenUI() {
131132 int rowSize = (int ) Math .sqrt (getInventorySize ());
132133 panelSyncManager .registerSlotGroup ("slots" , rowSize );
133134
134- Widget <?> recipeLogo = GTGuiTextures .getLogo (getUITheme ())
135- .asWidget ()
135+ Widget <?> recipeLogo = new Widget <>()
136136 .align (Alignment .BottomRight )
137+ .size (17 )
138+ .overlay (new DynamicDrawable (() -> recipes .isEmpty () ? GTGuiTextures .GREGTECH_LOGO_BLINKING_YELLOW :
139+ GTGuiTextures .GREGTECH_LOGO ))
137140 .tooltipBuilder (tooltip -> {
138141 if (recipes .isEmpty ()) {
139142 tooltip .addLine (IKey .lang ("gregtech.machine.data_access_hatch.no_recipes" ));
You can’t perform that action at this time.
0 commit comments