Hi guys,
I've been trying to make a custom loading screen. I created a gui that should work, it leaves the mojang screen on for a few seconds, then I created a white rectangle that sort of fades in and then I displayed my logo on top. Although this doesn't appear to work, all I see is the mojang logo when I load the game. Can anyone help me?
This is the gui I created: https://pastebin.com/
EDIT: I found out I forgot to register it, although now when the game loads the screen just flickers very fast, then crashes.
Log:
EDIT 2: I managed to fix this by changing renderOnScreen() {} to drawScreen() {}