Skip to content

Map Distance Fix Mod pour Minecraft 1.20.1, 1.21.1

Un mod simple qui affiche un indicateur de joueur au lieu d'un point blanc en dehors des limites de la carte.

à partir de MrErenK · Modrinth
Sur le serveur
téléchargements
12 téléchargements
vues
35 vues
Mis à jour
Mis à jour 12.10.2026

MapDistanceFix

A very simple Minecraft mod that fixes map player indicators to always show the player's position and direction, even when outside map boundaries, making it much easier to navigate treasure maps and other map items.

Thanks everyone for 1 million downloads!!

Why This Mod?

In vanilla Minecraft, when you're far from a map's boundaries, the player indicator either disappears entirely or shows as a generic "player\_off\_map" and "player_off_limits" decorations without directional information. This mod fixes that by:

  • Converting off-map player decorations to regular player decorations
  • Maintaining correct rotation to show which direction you're facing
  • Ensuring the player is always visible for better navigation

Features

  • Always Visible Player: Ensures the player icon is always visible on maps, even when far outside the map boundaries
  • Correct Direction: Shows the player's actual facing direction instead of a generic off-map indicator
  • Distance Display: Shows the distance from the player to the map center or to the nearest structure, helping you navigate to your destination
  • Configurable: Customize distance display settings via a JSON config file or in-game GUI using cloth config
  • In-Game Commands: Reload config and check status without restarting the game
  • Server-Side Only: No client modifications required if the mod is installed on the server

Optional Dependencies

  • Cloth Config - Enables in-game configuration GUI
  • Mod Menu - Provides access to the config screen from the mod list

Both mods are optional. Without them, you can still configure the mod by editing the JSON config file directly or via in-game commands

Configuration

The mod creates a configuration file at config/mapdistancefix.json with the following options:

Option - Default - Description

showDistance - true - Enable or disable distance display showDistanceWhenOffMap - true - Show distance when the player is outside the map boundaries showDistanceInsideBoundaries - false - Show distance even when the player is inside the map boundaries showStructureDistances - true - Show the distance to the nearest structure in the map distanceFormat - %dm - Format string for distance (use %d for the distance value) useShortUnits - true - Use short format like "1.2k" for large distances shortUnitThreshold - 1000 - Distance threshold (in blocks) for switching to short units

In-Game Configuration

If you have Cloth Config and Mod Menu installed, you can access the configuration screen by:

  • Opening the game menu
  • Clicking "Mods" (added by Mod Menu)
  • Finding "Map Distance Fix" in the list
  • Clicking the configuration button

or if you don't have these mods, you can use commands:

Commands

  • /mapdistancefix config set/reset/get or /mdf config set/reset/get - Change configs in-game
  • /mapdistancefix status or /mdf status - Display current configuration settings
  • /mapdistancefix reload or /mdf reload - Reload the configuration file if modified (no need to run if using /mdf config command)

Compatibility

  • JAVA Compatibilty: Java 21 is required for Minecraft versions above 1.20.5, Java 17 is required for Minecraft versions above 1.19.3 till 1.20.1.
  • Server Compatibility: Does not work on vanilla servers. But if the mod is installed on the server, its not required to install on the client.
  • Other Mods: Should be compatible with most other mods that don't heavily modify maps.

Troubleshooting

Common Issues

Config screen not appearing

  • Make sure you have both Cloth Config and Mod Menu (for fabric) installed
  • Check that the versions are compatible with your Minecraft version

Distance text looks weird with shaders

  • This is a known issue with some shader packs. The distance text background may appear transparent or glitchy.
  • If this bothers you, disable the distance display by setting showDistance to false in the config file or through the in-game config screen (if Cloth Config is installed).

Getting Help

If you encounter issues:

  • Check the latest logs for error messages
  • Verify that Fabric API is correctly installed
  • Try with minimal mods to isolate conflicts
  • Report issues on the GitHub Issues page

Contributing

Contributions are welcome! Here's how you can help:

Pull Requests

  • Follow existing code style and conventions
  • Add appropriate comments and documentation
  • Test thoroughly before submitting
  • Update README if adding new features

Bug Reports

  • Use the GitHub Issues page
  • Include Minecraft version, mod version, and log files
  • Describe steps to reproduce the issue

License

This project is licensed under the MIT License. Feel free to use this mod in your modpacks without asking for permission. But please do not redistribute the jar files anywhere else!

Acknowledgments

  • mappings.dev for the huge help with finding proper functions
  • Fabric Team for the excellent modding framework
  • Minecraft Community for inspiration and feedback
  • Contributors who help improve this mod

Made with ❤️ by MrErenK for the Minecraft community

For questions, suggestions, or support, feel free to open an issue on GitHub!

Have a question, modpack integration inquiry, version request or quick feedback? Reach out on Discord: @mrerenk

Comment installer Map Distance Fix

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.20.1–26.2 on Fabric or NeoForge automatically, together with its dependencies: Fabric API.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 26.2. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file mapdistancefix-neoforge-1.1.2+mc26.jar (34 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.

  4. Launch the loader profile

    Open “Mods” in the main menu: Map Distance Fix should be in the list.

On a server

  1. A server on Fabric or NeoForge

    The mod only works on a server with the same loader and game version, for example 26.2.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Versions

Avec dépendances

MinecraftLoaderFichierDateActions
26.2NeoForge26.233.6 Ko
1.21.11NeoForge1.21.1133.7 Ko 1
26.2NeoForge26.232.3 Ko
26.2Fabric26.234.7 Ko
1.20.1Fabric1.20.133.1 Ko
26.1.2Fabric26.1.234.7 Ko
26.1.2NeoForge26.1.232.3 Ko
1.21.11Fabric1.21.1134.7 Ko 11

Ce qu'il faut pour l'exécuter

FAQ

Which Minecraft versions does Map Distance Fix work on?

There are files for 1.20.1–26.2, 17 versions in total. The newest is 26.2.

Is Map Distance Fix for Forge or Fabric?

There are files for Fabric: 1.20.1–26.2 and for NeoForge: 1.21–26.2. There are no files for Forge: a mod for another loader will not start.

What does Map Distance Fix need to work?

Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder. Optional: Cloth Config API, Mod Menu.

Does Map Distance Fix work on a server?

Yes. Map Distance Fix works both in singleplayer and on a server.

Where can I download Map Distance Fix safely?

On this page: the file mapdistancefix-neoforge-1.1.2+mc26.jar (34 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 02e187cae7022d167c631e6f59acdd9d63092d4a.

Avis

Soyez le premier à noter Map Distance Fix

Commentaires 0

Connectez-vous pour commenterSe connecter

Mods similaires

Tous les mods

En savoir plus

Auteur : MrErenKLicence : MIT

Êtes-vous l'auteur ? Contactez-nous — nous le retirerons sous 48 heures.