Add a super early GUI for showing pre-game launch messages from FML. NOTE: this cannot show on MAC because MAC can't handle

off-thread GUIs in any way shape or form, and we need the main thread to do real work.

Fix forge fading in wrongly.

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2019-10-05 17:03:02 -04:00
1 parent b294f4d894
commit 9c759294c6
18 files changed
+512 -124

No files matched your search

@@ -320,13 +320,10 @@ public class ForgeHooksClient
default: break;
}
if (line != null)
{
// if we have a line, render it in the bottom right, above Mojang's copyright line
gui.drawString(font, line, width - font.getStringWidth(line) - 2, height - (2 * (font.FONT_HEIGHT + 1)), -1);
}
forgeStatusLine = line;
}
public static String forgeStatusLine;
public static ISound playSound(SoundEngine manager, ISound sound)
{
PlaySoundEvent e = new PlaySoundEvent(manager, sound);