Jump to content

OnePound

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by OnePound

  1. I want to be able to simulate the mod not being present - just OCD really.
  2. Ok that's fine - if there is a way to alter the mod list though that would be good to know
  3. Hey, does anyone know how to access a list of running mods, or really just any way that you can stop one from running via the forge api? I need something along the lines of Minecraft.getMods().disable(modID). I'll only need this to disable my own mod, which I have implemented in other ways anyway, but it still appears on the mod list, so if there isn't a way to do the above, I could settle for just removing it from the mod list Thanks in advance
  4. Hi, I have some code to add a HUD to the game containing FPS/Watermark/Coordinates etc, however when in survival mode it will break the health bar image. The GUI is fine after the boxes are drawn, but after the string is added the inventory breaks. Code: @SubscribeEvent public void onRender(RenderGameOverlayEvent event) { Color Aqua = new Color(0, 255, 255, 175); //WaterMark Blue Box drawRect(2, 16, 64, 1, Aqua.getRGB()); drawRect(3, 15, 63, 2, BlackColor.getRGB()); //WaterMark Black Box mc.fontRendererObj.drawString(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "Water" + EnumChatFormatting.GRAY + "" + EnumChatFormatting.BOLD + "MA" + EnumChatFormatting.WHITE + "RK" + EnumChatFormatting.BOLD + "us", 6, 5, Integer.parseInt("000000", 16)); } Any help is greatly appreciated, thank you. UPDATE: changing the event to RenderGameOverlayEvent.post solves the health bar, but the armour is still broken. UPDATE 2: change to text and works fine. solved
×
×
  • Create New...

Important Information

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