Jump to content

EWM

Members
  • Posts

    5
  • Joined

  • Last visited

EWM's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I I just thought about what I was trying to do and realized what a rookie mistake I made. I should've listened more carefully at uni. Thanks for your quick replies guys.
  2. can't make a static reference to a non static method public void onRenderGameOverlay(RenderGameOverlayEvent event) { if(!event.isCancelable() && event.getType() == ElementType.EXPERIENCE) { Minecraft mc = Minecraft.getInstance(); if(!mc.player.isCreative()) { int posX = MainWindow.getHeight(); } }
  3. How do I access it though? MainWindow.getHeight() doesn't work/exist, and eclipse doesn't suggest any similar methods. Sorry for asking stupid questions, I'm quite new to modding in minecraft.
  4. Hello, is there a get method for screen width and height values? I need it to position my gui overlay.
  5. Hello, I want to create a simple overlay like a mana bar on the screen of the player. In most of the guides people create a class that extends Gui, I tried to import it but it apparently doesn't exist anymore. Is there any alternative to this class that would do the same?
×
×
  • Create New...

Important Information

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