Jump to content

Olivier062001

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Olivier062001

  1. No i don't know how to use it.
  2. Well i have a method to write the text and when I add in the GL11.glScalef(); it doesn't only change the size of the font it change the size of every menu. public void drawString(FontRenderer par1FrontRenderer, String par2Str, int par3, int par4, int par5){ par1FrontRenderer.drawStringWithShadow(par2Str, par3, par4, par5); GL11.glScalef(2, 2, 0); }
  3. glScale affect the main menu, chat, ect... is there a condition we need to use for glScale ?
  4. Hi, im trying to make a new pause gui and I wand to make a button called "shaders" and when you pressed on it, it will open the shaders gui (class of the shader gui: GuiShaders) and I don't know how to link my mod with shader's mod. And when i do a "if(Loader.isModLoaded("shadersmod"))" it return false but shader is installed and "shadersmod" is the right mod_id. Thanks. Also how can i set the font size in this code (Modifiying the debug menu) @SideOnly(Side.CLIENT) @SubscribeEvent public void onRenderPre(RenderGameOverlayEvent.Pre event){ if(event.type == RenderGameOverlayEvent.ElementType.DEBUG){ event.setCanceled(true); String fpsString = mc.debug.split(",", 2)[0]; this.drawString(Minecraft.getMinecraft().fontRenderer, fpsString, 5, 5, 14737632); } } public void drawString(FontRenderer par1FrontRenderer, String par2Str, int par3, int par4, int par5){ par1FrontRenderer.drawStringWithShadow(par2Str, par3, par4, par5); }
  5. Hi im wandering how I could make so my invisible block has a Different texture in hand but not the same when placed. Thanks
×
×
  • Create New...

Important Information

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