Posted November 9, 20177 yr I have my screen gui: drawCenteredString(mc.fontRendererObj, text, width / 19, (height / 50) - 4, Integer.parseInt("00FF00", 16)); but i wanna know how to display fps... for now it just displays text: String text = "Test"; i wanna know if theres any way to like get the fps and put it instead of "Test"
November 9, 20177 yr Author nvm i got it: int fps = Integer.valueOf(Minecraft.getDebugFPS()); drawString(mc.fontRendererObj, "FPS: \247f" + fps, width / 24, (height / 20) - 4, Integer.parseInt("00FF00", 16));
November 9, 20177 yr 2 minutes ago, ejer said: Integer.parseInt("00FF00", 16) *cough* 0x00FF00 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
November 9, 20177 yr Author 6 minutes ago, Draco18s said: 0x00FF00 wait... it seems like its just crashing my game whenever i joint the world ill stick to 00FF00 ;p
November 9, 20177 yr Use the debugger. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.