_      __            __                  _ 
      (_)__  / /_________  / /________  _______(_)
     / / _ \/ __/ ___/ _ \/ __/ ___/ / / / ___/ / 
    / /  __/ /_(__  )  __/ /_/ /  / /_/ / /  / /  
 __/ /\___/\__/____/\___/\__/_/   \__,_/_/  /_/   
/___/

[Home] - [Blog] - [About]




Benchmarking Minecraft Java Edition on my Raspberry Pi 4 (2 GB)

(Originally posted to Cohost on Fri, Mar 29, 2024, 11:10 PM)

Short version:

Also, starting with 1.17, Minecraft requires Java 17 and OpenGL 3.2. To work around the latter, you can:

All setups with optimization mods, are also friendly towards low RAM allocations. Optimized 1.7.10 and 1.12.2 can go as low as 384MiB, maybe 256MiB. Optimized 1.16+ can go even lower with the help of ModernFix.


Long version

Warning: This blog post's embedded images (using a combination of Discord and the Wayback Machine) may or may not display.

Introduction

The Minecraft wiki claims:

Any computer can actually run Minecraft - even with a low processor and graphics card - but high RAM is required. However, for an enjoyable experience, it is encouraged to consult the recommended requirements.

Let's see what versions work and what optimization can do.

When people think Minecraft on the Pi, they think Pi Edition. I wanna see if I can explore Java Edition on a Pi 4 with 2GB RAM, and what version I should target for my next server as a result.


Notes

xrandr --output HDMI-1 --scale 0.625

Beta 1.7.3 (2011)


1.7.10 (2014)

Vanilla
Optimized
Lightly modded

1.12.2 (2017)

Vanilla
Optimized

1.16.5 (2021)

Vanilla
Optimized (Simply Optimized)

But how far can we go before it's completely unplayable?


1.18.2 (2022)

Optimized (Simply Optimized 1.18.2-18.2.2)

1.20.1 (2023)

Optimized (Simply Optimized 1.20.1-11.3)

Note: Outdated. Updated results in the TL;DR.


Bonus


ClassiCube


Better Than Adventure


Why not Minetest?

It sounds like a great idea in theory, but my experiences with 5.8.0 on the Pi 4 weren't as good as I'd've hoped. Flying too fast led me hitting an invisible wall while I wait for the server to keep up (tested with v7 mapgen), and MineClone 2's internal game logic felt laggy. Trying to create a large, empty area in Worldedit (about 256x64x256) ended up crashing the game, which surprisingly didn't happen with 1.7.10.