The project's README from github.com/noahdunnagan/mcopt. As one markdown file: README.md.
[!NOTE] mcopt no longer requires Sodium ๐
A Minecraft performance mod for Apple Silicon Macs. Since 0.3.0-alpha.1 it draws the world with its own Metal renderer. Very much alpha: expect bugs, and back up your worlds.
~/Library/Application Support/minecraft/mods. Create the mods folder if it's missing
(Finder: Go > Go to Folder). In Prism: Edit the instance > Mods > Add file.Sodium isn't needed anymore: mcopt won't start alongside it, so take Sodium out of that folder if it's there. Fabric API isn't required; keep it if your other mods need it.
To check it's working: press F3 (fn + F3 on a Mac keyboard); the bottom right says Metal 3 (mcopt).
Shows an fps counter in the top-left corner (hidden with F1 or F3; fn + F1 or fn + F3 on a Mac keyboard).
profile=none in ~/Library/Application Support/minecraft/config/mcopt.properties (in Prism, the instance's
minecraft/config folder) turns it off. The first launch writes that file.mcopt.lod=true in the same file, for Macs with 10 or more GPU cores.fps spinning / flying, same test world, 1920x1080, render distance 16, VSync off, at least two runs each:
| Mac | vanilla | Sodium 0.9.3 | 0.2.0-alpha.3 | 0.3.0-alpha.1 |
|---|---|---|---|---|
| Mac mini M4 (10-core GPU, 16 GB) | 156 / 146 | 275-281 / 253-267 | 1202-1223 / 1068-1074 | 1209-1211 / 1068-1069 |
| MacBook Neo (A18 Pro, 5-core GPU, 8 GB) | 79-81 / 69-72 | 133-146 / 85-91 | 514-579 / 422-449 | 591-638 / 477-504 |
| Mac mini M6 (12-core GPU, 16 GB) | 297-328 / 283-291 | 454-460 / 406-413 | 1988-1991 / 1738-1742 | 2020-2022 / 1690-1704 |
The mini and Neo cells ran on 6c133ecc, whose only difference from 9865a0a3 is vGroup, which is gated off on those GPUs. The Neo's vanilla and Sodium cells come from the da566d00 run. This build differs from 9865a0a3 only in code that runs when Distant Horizons is installed.
For the most fps: Options > Video Settings, VSync off and Max Framerate Unlimited. The numbers above are with VSync off.
mcopt.metal=false to config/mcopt.properties (or launch with -Dmcopt.metal=false).Apache License 2.0. Keep the NOTICE file with any copy, and credit mcopt.