Jump to content

chris32

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

chris32's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Worked like a charm, thank you so much!
  2. Hey everyone - first post! I need some help trying to obtain the current Minecraft instance of the GuiMainMenu through Forge. Is this possible without editing base classes? I know the instance is created within Minecraft.java but I can't seem to find a way to access it without modifying the existing code. It also seems that multiple instances are created. Can I just create my own instance and use it? Doesn't seem to work. This code runs fine, however. It is placed in the pre-initialization event. GuiMainMenu menu = new GuiMainMenu(); menu.drawString(Minecraft.getMinecraft().fontRenderer, "Hello, main menu!", 0, 0, 1); This code does not draw the text on the main menu.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.