Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.12.2] Remove Default Experience Bar
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
Nick82285

[1.12.2] Remove Default Experience Bar

By Nick82285, November 13, 2018 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Nick82285    3

Nick82285

Nick82285    3

  • Tree Puncher
  • Nick82285
  • Members
  • 3
  • 20 posts
Posted November 13, 2018

 

At the moment, I am working on a mod that creates a custom GUI element (similar to fallout). As far as I know, the exp bar rendering is in the GuiInGame class and I need to figure out how to stop it from rendering. Could I make a class that extends GuiInGame to just return before it renders? If so how would I open that GUI onto the screen or just stop it from rendering?

 

 

 

Capture.PNG

  • Quote

Share this post


Link to post
Share on other sites

Animefan8888    677

Animefan8888

Animefan8888    677

  • Reality Controller
  • Animefan8888
  • Forge Modder
  • 677
  • 5746 posts
Posted November 13, 2018
1 minute ago, Nick82285 said:

If so how would I open that GUI onto the screen or just stop it from rendering?

You will need to subscribe to the RenderGameOverlayEvent which you must already be doing. And simply cancel/set the result of the event if it is for rendering the exp bar.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DaemonUmbra
      cant use mods in survival 1.12.2

      By DaemonUmbra · Posted just now

      So what is the problem now? Will the server not start or can you not connect?
    • JMAS
      pointing to MCP folder instead of MDK ???

      By JMAS · Posted 5 minutes ago

      I apologize in an advance if this is a noob level question:  In the class file I'm creating I'm trying to import net.minecraft.nbt.NBTTagCompound which apparently is no longer in the 1.14.4 MDK but instead is at the MCP folder at  \mcp940\bin\minecraft\net\minecraft\nbt I have the MCP folder listed in the libraries under project structure (using IntelliJ 2019.3), but in the individual class file I can't get it to make that connection for importing. How do I do this?   (P.S. I've been learning to code Java for an  hour and 13 minutes now (sarcasm), so thanks for helping me with my learning curve.)
    • Draco18s
      Distinguish singleplayer vs. multiplayer

      By Draco18s · Posted 6 minutes ago

      This will always be true on the client
    • DragonITA
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA · Posted 6 minutes ago

      Ok sorry, tomorrow can i show you the code, good night. 
    • Jaffaaaaa
      ScreenGui does nothing

      By Jaffaaaaa · Posted 19 minutes ago

      bump. anyone help?
  • Topics

    • Barca
      5
      cant use mods in survival 1.12.2

      By Barca
      Started 2 hours ago

    • JMAS
      0
      pointing to MCP folder instead of MDK ???

      By JMAS
      Started 5 minutes ago

    • solitone
      19
      Distinguish singleplayer vs. multiplayer

      By solitone
      Started December 5

    • DragonITA
      35
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA
      Started Monday at 10:06 AM

    • Jaffaaaaa
      1
      ScreenGui does nothing

      By Jaffaaaaa
      Started Yesterday at 07:03 PM

  • Who's Online (See full list)

    • DaemonUmbra
    • Powerxd
    • JMAS
    • access_denied
    • Sivonja
    • Barca
    • Draco18s
    • DragonITA
    • Jaffaaaaa
    • dylandmrl
    • deerangle
    • loordgek
    • Pyre540
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.12.2] Remove Default Experience Bar
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community