@@ -157,9 +157,12 @@ protected void renderLabels(@NotNull GuiGraphics graphics, int mouseX, int mouse
157157
158158 if (isCasingValid ()) {
159159 if (isInteriorValid ()) {
160- graphics .drawString (font , __ ("tooltip.nc.accelerator.voltage" , container ().getVoltage ()), 37 , 50 , 0xffffff );
161- graphics .drawString (font , __ ("tooltip.nc.accelerator.efficiency" , numberFormat (container ().getEfficiency ())+"%" ), 37 , 60 , 0xffffff );
162- graphics .drawString (font , __ ("tooltip.nc.accelerator.strength" , numberFormat (container ().getStrength ())), 37 , 70 , 0xffffff );
160+ graphics .drawString (font , __ ("tooltip.nc.accelerator.voltage" , container ().getVoltage ()), 37 , 50 , 0xffffff );
161+ graphics .drawString (font , __ ("tooltip.nc.accelerator.efficiency" , numberFormat (container ().getEfficiency ()) + "%" ), 37 , 60 , 0xffffff );
162+ graphics .drawString (font , __ ("tooltip.nc.accelerator.strength" , numberFormat (container ().getStrength ())), 37 , 70 , 0xffffff );
163+ if (isAcceleratorTooHot ()) {
164+ graphics .drawString (font , __ ("tooltip.nc.accelerator.too_hot" ), 37 , 80 , ChatFormatting .RED .getColor ());
165+ }
163166 } else {
164167 interiorTootip = applyFormat (__ (getValidationResultKey (), getValidationResultData ()), ChatFormatting .RED );
165168 }
@@ -168,6 +171,10 @@ protected void renderLabels(@NotNull GuiGraphics graphics, int mouseX, int mouse
168171 renderTooltips (graphics , mouseX -relX , mouseY -relY );
169172 }
170173
174+ private boolean isAcceleratorTooHot () {
175+ return container ().isAcceleratorTooHot ();
176+ }
177+
171178 private Object getValidationResultData () {
172179 return container ().getValidationResultData ().toShortString ();
173180 }
0 commit comments