Posted June 30, 201312 yr Hello I am drawing a String on my screen, I followed a tutorial here that explains how to: http://www.minecraftforge.net/wiki/Gui_Overlay and I succfully drawn it in the position I desired but I would like to make the text larger, is that possible in any way without making the text larger in the Minecraft font ?
June 30, 201312 yr GL11.glScale(scaleX, scaleY, scaleZ); how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
June 30, 201312 yr Author GL11.glScalef and glScaled only seem to strech the screen to the direction I amplify the value in(and if I add to the Z value the Item Icons seem to disapper)
July 1, 201312 yr Plus I get a NullPointerException when the player is removeing armor/not wearing it. mc is a Minecraft instance, it is not Null. if(mc.thePlayer.inventory.armorInventory[0].getItem() == FreemanMod.freemanBoots && mc.thePlayer.inventory.armorInventory[1].getItem() == FreemanMod.freemanLeggins && mc.thePlayer.inventory.armorInventory[2].getItem() == FreemanMod.freemanChestplate && mc.thePlayer.inventory.armorInventory[3].getItem() == FreemanMod.freemanHelmet){ There are so many things there that could be null. Split each field up into its own line and see which line it crashes at. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
July 1, 201312 yr Author Plus I get a NullPointerException when the player is removeing armor/not wearing it. mc is a Minecraft instance, it is not Null. if(mc.thePlayer.inventory.armorInventory[0].getItem() == FreemanMod.freemanBoots && mc.thePlayer.inventory.armorInventory[1].getItem() == FreemanMod.freemanLeggins && mc.thePlayer.inventory.armorInventory[2].getItem() == FreemanMod.freemanChestplate && mc.thePlayer.inventory.armorInventory[3].getItem() == FreemanMod.freemanHelmet){ There are so many things there that could be null. Split each field up into its own line and see which line it crashes at. I already solved that, sorry for not removeing it from the title and post(The .getItem would crash it if the ItemStack was null, fixed it by first checking if it's null). But I still would like to be able to increase the size of the text I'm drawing on screen.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.