DHMPEMFixer
by commonplace
DHMPEMFixer resolves a conflict between Distant Horizons and the MPEM performance module on Forge 1.20.1, so both can run together.
What it does
MPEM, the Performance Enhancement Module, changes the Forge event system. Most mods are unaffected by that change, but Distant Horizons is affected, and it fails to run correctly alongside MPEM. DHMPEMFixer addresses this by merging the MPEM 3.0 changes into the fix and making Distant Horizons use the MPEM version in place of Moonlit, while the rest of MPEM keeps working.
The fix is applied with a mixin. It injects into the ForgeClientProxy and ForgeServerProxy classes so that the PACKET SENDER field is guarded against empty values. Without that protection, an unset PACKET SENDER field in either class would crash Distant Horizons. The mod is published for Forge only, for Minecraft 1.20.1, and needs both Distant Horizons and MPEM to be installed to fix the conflict.
The mod is client and server, so both the server and every player need it. It is released under the MIT License and is open source. Source code and an issue tracker are public.
Key features
Distant Horizons compatibility
Stops the Forge event system change made by MPEM from breaking Distant Horizons on 1.20.1.
Unset field protection
Injects into the client and server proxy classes so the PACKET SENDER field is guarded against unset values.
Mixin-based patch
Applies the change through a mixin, leaving the underlying mod files unmodified.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Who it’s for: Players and server owners on Forge 1.20.1 who use Distant Horizons together with the MPEM performance module and see crashes or failures from the conflict.
How it compares
Distant Horizons Height Toggler DHHT is client-side only and its license is All rights reserved, so it is not open source, with files for Forge and NeoForge on 1.20.1. Equipment Packet Fix is server-side only, open source under the MIT License, and published for Forge on 1.20.1. Distant Horizons Dimension Toggler is client-side only and not open source, with files for Forge and NeoForge on 1.20.1; it changes dimension rendering rather than resolving the MPEM conflict.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| DHMPEMFixer | Forge | 1.20.1 | Client and server | 2025-07-15 |
| Distant Horizons Height Toggler DHHT | Forge and NeoForge | 1.20.1 | Client-side only | 2025-12-29 |
| Equipment Packet Fix | Forge | 1.20.1 | Server-side only | 2025-11-22 |
| Distant Horizons Dimension Toggler | Forge and NeoForge | 1.20.1 | Client-side only | 2025-12-23 |
Questions
Does DHMPEMFixer need Distant Horizons?
Does the server need DHMPEMFixer?
Which Minecraft version is supported?
Why does the fix patch the proxy classes?
In the catalog
DHMPEMFixer is one of 3,545 Optimization mods on ModsFinder, and one of 1,441 Optimization mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from commonplace
Similar mods
What the author says
This mod has been marged into the MPEM MOD 3.0 version. In the following text, the DH will be used instead of the Distant Horizons mod,and the MPEM will be used instead of the Moonlit Performance Enhancement Module mod.
Official listing
- Modrinth page
- modrinth.com/mod/dhmpemfixer
- Owner
- commonplace
- Published
- 2025-07-14
- Updated on Modrinth
- 2025-07-15
- Facts verified
- 2026-10-15