Ok, I've learned about it So, now I've that, what I need, but...
I can use GL11 to draw my main menu, but the buttons from... vanilla is still work. So, I've tried to change the screen to my own. I did it, but Minecraft crashing. I think it's because I don't include functions in my guiMainMenu ;P (Eclipse not asking about create them) I don't now how to start. I tried copy the vanilla guiMainMenu, but I've a lot of errors :C
My code in tickHandler:
//...
if (mc.currentScreen != null && mc.currentScreen.getClass() == GuiMainMenu.class){
//fontRender.drawStringWithShadow("Mainmenu", x, y, color);
mc.currentScreen = new GuiRpgMainMenu();
}
//...
I can't test it in vanilla guis, because they need a lot of parameters.
So, now my problem is how to code my own screen class. Tutorials, ideas, anything will help