[Tips] On Increasing Minecraft Performance

Discussion in 'General Minecraft Discussion' started by BobTheTomato9798, Sep 28, 2012.

  1. This thread is to help all of you people will sucky PC's get the best out of minecraft!

    Modifications to your Minecraft Client!

    Various code modifications have been written to optimize how Minecraft manages chunk queues and (some) rendering. They are actually pretty simple to apply. Anyone able to use an archiving program (like 7-Zip) will be fine.

    Modifications unfortunately need to be updated and re-applied with every Minecraft update, so expect times when modifications will not be available after Minecraft updates.

    Getting started:

    First of all navigate to your Minecraft storage area:
    This can be done by entering path %AppData%/.minecraft in the Windows Explorer address bar

    Make a folder called mods to store downloaded modification packages

    Enter the bin folder, there should be a file called minecraft.jar

    Make a copy of minecraft.jar as a back-up (although you can just delete it and start Minecraft to get an original version back)

    Go back from the bin folder back to the .minecraft folder

    Now download the following modifications into the mods folder:

    More efficient chunk rendering queue
    Faster text rendering supporting Unicode
    Fewer expensive screen clearing operaitons
    Better chunk drawing code
    Better TNT explosion handling (less lag)
    Useful OpenGL error message when the game rendering code crashes

    Minecraft 1.3 involved a lot of internal changes to reduce the amount of server code duplicated by the client. One unfortunate side effect is that if you're on a noticeably laggy connection, your block placement and footstep sounds will lag as well. The server controls those sounds now, not the client.

    A proper fix will involve changing both the server and the client, which doesn't appear to be coming from Mojang. Maybe in 1.4.

    In the meantime, this client mod exists. It does not require any server-side modifications.

    Make sure in install the mods in this order: OptiFine then NoSoundLag

    To apply each modification follow these instructions:
    1. Open minecraft.jar with an archiving tool (7-Zip recommended)
    2. Open a modification package with an archiving tool
    3. Simply drag the class files from the modification package into the archiving tool that has minecraft.jar open
    4. Say yes to overwriting files
    5. Important for players to delete the folder called META-INF (only needs to be done once, important that servers don't do this)
    Start up Minecraft, and hopefully your game will run smoother now. Some users claim 20-40 FPS improvements, though others still have to use tiny rendering distance and fast graphics to see any improvement.

    2. Upgrade Java Run-time Enviroment to 1.7

    I've seen various claims of it having good performance improvments, and can now vouch for this myself. Using tiny render distance with fast graphics gives me 800+ FPS, while using far render distance with fancy graphics gives me around 200-300 FPS (without the limiter on).

    A version of JRE isrequiredon your system already as the installer is actually in Java.64-bit users don't actually need the 32-bit build as well as the 64-bit build if you're only using it for Minecraft, it's optional. You may want it for other apps to use.

    Installation steps for JRE 1.7:

    Download JRE 1.7 (either 32-bit or 64-bit or both)

    Open a command prompt in Administrator mode (Vista/7 only)

    java -jar path\to\jre1.7.jar
    (actually replace the -jar location to where your JRE 1.7 download is)

    Select the Java folder within Program Files as the installation destination

    A folder called jre1.7.0 will be made inside the destination you choose

    Pick Program Files (x86) if you're using the 32-bit JRE 1.7 on a 64-bit version of Windows
    I used this guide a couple of days ago to get JRE 1.7 on my portable Ubuntu.

    Making a Minecraft shortcut to use JRE 1.7:

    Download the Linux/generic JAR Minecraft launcher and put it in your user folder somewhere, as you won't be using the EXE Minecraft launcher for JRE 1.7

    Make a new shortcut to
    and name the shortcut Minecraft

    Edit the properties of this shortcut

    Set the target to:

    "%ProgramFiles%\Java\jre1.7.0\bin\javaw.exe" -server -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -cp "minecraft.jar" -jar "minecraft.jar"

    Set the starting folder to the location of the Linux/generic JAR Minecraft Launcher you just downloaded

    Use this shortcut to start Minecraft on JRE 1.7

    can be used if you're running 32-bit JRE on 64-bit Windows.

    Please do share your performance findings compared to a previous version of Java. You also probably won't need to force vertical sync in your graphics drivers as the frame rate limiter appears to do a better job when running on JRE 1.7.

    If your JRE claims the server JVM is missing either download and install JDK 1.7 or remove-server from your command line. The server JVM generally runs faster than the client JVM, though takes a little longer to start and will want more memory.

    Other common performance tips:

    Stating the obvious:

    Running the javaw.exe process that executes Minecraft code at above normal or high priority (do not use real time)

    Lowering the Render distance and changing Graphics to Fast

    Don't maximize the Minecraft window -- leave it at the original size

    Apparently turning off the game sound and music helps

    Use a low intrusive anti-virus program (such as Microsoft Security Essentials or Avast)

    Clean up rubbish and remove intrusive start-up processes with CCleaner

    Defragment your system storage with a good utility (such as MyDefrag or UltraDefrag)

    Use GameBooster while playing Minecraft, it turns off all the clutter while you are gaming.

    If you are to lazy to install mods the manly way you could use Magic Launcher, you can find a video on how to use it HERE.

    More tips are welcome!
  2. Very nice,Thanks for doing this. I know it will help a lot of people :p
    zbalda97 and BobTheTomato9798 like this.
  3. I would also suggest using GameBooster - I used it on my old laptop - Turns of all the clutter while your gaming.
    zbalda97 likes this.
  4. I will add it to the OP!
    zbalda97 likes this.
  5. Awesome Bob, maybe you should mention Magic Launcher for installing mods
    zbalda97 likes this.
  6. Thank you! I will add Magic Launcher to the OP!

    BTW I fixed the clutter in the OP, it should be easier to read now!
    zbalda97 and marknaaijer like this.
  7. zbalda97 likes this.
  8. Cool!
    zbalda97 likes this.
  9. Awesome list! I will be sure to use some of those! :)
    zbalda97 and marknaaijer like this.
  10. Thank you! I am glad it helped!
    zbalda97 and xI_LIKE_A_PIGx like this.
  11. Thanks!
    zbalda97 likes this.
  12. Yay! Now if there was only a nether lag fix mod that was updated...
    zbalda97 likes this.
  13. When it is I will add it to the OP!
    zbalda97 likes this.
  14. This list is pretty cool :) I wen't from having an average of 120 fps to an average of 160 fps xD
  15. Nice Tutorial On How To Get Better FPS :)
    Thanks BTT
    zbalda97 likes this.
  16. Thanks and *Tutorial
  17. 17896067.jpg
  18. Thanks. the tips were great, I managed to clear about 2 GB of stuff with the CCleaner lol :)
  19. I will have to check that out! Thanks for the information!