ModsFinder
DH

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.

ForgeClient and serverMIT LicenseOpen source1.20.1

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

  1. Distant Horizons compatibility

    Stops the Forge event system change made by MPEM from breaking Distant Horizons on 1.20.1.

  2. Unset field protection

    Injects into the client and server proxy classes so the PACKET SENDER field is guarded against unset values.

  3. Mixin-based patch

    Applies the change through a mixin, leaving the underlying mod files unmodified.

Compatibility

Latest build for each game version and loader.

1.20.11.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

?
Name not publishedSummary not published
Required
Distant HorizonsMassively increase render distance without harming performance.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
DHMPEMFixerForge1.20.1Client and server2025-07-15
Distant Horizons Height Toggler DHHTForge and NeoForge1.20.1Client-side only2025-12-29
Equipment Packet FixForge1.20.1Server-side only2025-11-22
Distant Horizons Dimension TogglerForge and NeoForge1.20.1Client-side only2025-12-23

Questions

Does DHMPEMFixer need Distant Horizons?

Yes. Distant Horizons is a required dependency, and the fix only exists to resolve its conflict with MPEM.

Does the server need DHMPEMFixer?

Yes. Servers that run it need every player to install it too.

Which Minecraft version is supported?

The mod is published for Forge 1.20.1 only. The latest file, 1.0, was released on 2025-07-15.

Why does the fix patch the proxy classes?

According to the author, MPEM's change to the Forge event system affects Distant Horizons, and the mixin keeps the PACKET SENDER field from being unset in the ForgeClientProxy and ForgeServerProxy 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

All projects

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.
commonplace, on the Modrinth page

Official listing

Owner
commonplace
Published
2025-07-14
Updated on Modrinth
2025-07-15
Facts verified
2026-10-15

Tags