Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Minecraft Hacks & Cheats › Minecraft Tutorials › FPS Display 1.5.2

PostFPS Display 1.5.2

Posts 1–9 of 9 · Page 1 of 1
Wampwire
Wampwire
FPS Display 1.5.2
Many of you who are wishing to create a Minecraft Custom Client want an FPS display somewhere in game. It doesn't matter why, or where, you just want to copy and paste stuff in it and call it yours. Well, here it is.

Code:
int fps = Integer.valueOf(Minecraft.debugFPS);
Firstly, we create an integer (int) which would be called fps. This integer uses already made counter of FPS, therefore making this really easy to do.
This calls the void from Minecraft.class.
Code:
var8.drawStringWithShadow("\2472FPS: " + whatever your integer name was, x, y, hex colour code);
Then we call the drawString void. Notice how for 1.5.2 we use var8 instead of fontRenderer. So we use var8.drawString to draw our string (text).
In the brackets we have our string "FPS: " and our int + fps. We then add the x and the y coordinates and our colour code. After closing the bracket add a semicolon.


My client uses x and y coordinates so that if you try to resize the game, the FPS stays in the bottom right corner and not somewhere lets say, 420, 400. You can use simple math to make your string adjustable.

To do this, you're going to have to call an integer from GuiMainMenu.class

Code:
GuiMainMenu.width - 50, GuiMainMenu.height - 12
This grabs the current width and height of the, lets say, JFrame or whatever minecraft uses.

Skid unfriendly-ish.

You should all know where to place all of this. But if not, it is supposed to go in GuiInGame.java
#1 · 13y ago
LO
LordPankake
Quote Originally Posted by OP
Skid unfriendly-ish.
.
..
...
I know you only left out the names of variables but why do people do this for things as simple as how to use guiIngame? Now for TTF chat or something I can see why, but when people make code "skid unfriendly" for simple stuff it makes me die a little inside.
(Good tut for beginners anyways)
#2 · edited 13y ago · 13y ago
Wampwire
Wampwire
Thanks but yeah, I know, still people gotta learn how to program.. :/
#3 · 13y ago
Clastic
Smaug
I just use fraps for my FPS
#4 · 13y ago
Caezer99
Caezer99
Quote Originally Posted by Clastic View Post
I just use fraps for my FPS
LOL WTF ? You should not really do that...

---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------

Quote Originally Posted by LordPankake View Post
.
..
...
I know you only left out the names of variables but why do people do this for things as simple as how to use guiIngame? Now for TTF chat or something I can see why, but when people make code "skid unfriendly" for simple stuff it makes me die a little inside.
(Good tut for beginners anyways)
I figured how to do a TTF chat hehe . Ownage gave me a hint where the chat text is handled.
#5 · 13y ago
Clastic
Smaug
Quote Originally Posted by Caezer99 View Post
LOL WTF ? You should not really do that..
Is something wrong?
#6 · 13y ago
LO
LordPankake
Or you know, just hit F3.
#7 · 13y ago
Wampwire
Wampwire
but F3 brings up all the debug stuff :P
#8 · 13y ago
XZ
xziolox000
Good tut
#9 · 13y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Iet Fps :oBy i eat trees in General
    41Last post 20y ago
  • Cool DisplayBy Dave84311 in General
    5Last post 20y ago
  • Low FPS on a TOP NOTCH PCBy AN1MAL in Hardware & Software Support
    6Last post 20y ago
  • Bad FPS StillBy aduckie in WarRock - International Hacks
    5Last post 19y ago
  • Is WarRock the future FPS?By arunforce in General Game Hacking
    6Last post 19y ago

Tags for this Thread

#1.5.2#client#draw#fps#gui#minecraft#string