Modscraper Modscraper Minecraft
Map Distance Fix logo

Map Distance Fix

Mod

by MrErenK

A simple mod that shows a player indicator instead of a white dot when outside map boundaries.

Type

Mod

CurseForge Downloads

2,618,927

CurseForge ID

1321830

Modrinth Downloads

1,123,003

Modrinth ID

51BNNAng

Last Updated

Nov 6, 2026

Description

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.


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:

  1. Converting off-map player decorations to regular player decorations
  2. Maintaining correct rotation to show which direction you're facing
  3. 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:

  1. Opening the game menu
  2. Clicking "Mods" (added by Mod Menu)
  3. Finding "Map Distance Fix" in the list
  4. Clicking the configuration button

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

Commands

  • /mapdistancefix config <config> set/reset/get or /mdf config <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:

  1. Check the latest logs for error messages
  2. Verify that Fabric API is correctly installed
  3. Try with minimal mods to isolate conflicts
  4. 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!

Compatibility

Mod Loaders

Fabric Forge Neoforge

Game Versions

1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 +22 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (138)

Show fewer
Better MC [FORGE] - BMC4 Better MC [FORGE] - BMC4 Cave Horror Project 1 Cave Horror Project 1 Better MC [FABRIC] BMC2 Better MC [FABRIC] BMC2 Cave Horror Project 1 Cave Horror Project 1 Better MC [FABRIC] BMC3 Better MC [FABRIC] BMC3 Raspberry Flavoured Raspberry Flavoured Elysium Days Elysium Days Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] Sensible MC Sensible MC Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 A Distant Journey A Distant Journey The Annoying Villagers Remastered The Annoying Villagers Remastered Create Eternal Journey Create Eternal Journey Arcane Dragons [FABRIC] Arcane Dragons [FABRIC] Avalon Reborn Avalon Reborn FreshCraft Classic FreshCraft Classic Legacies 26 Legacies 26 Legacies Legacies Path of the Ascended Path of the Ascended FreshCraft SteamPunk Industry DLC FreshCraft SteamPunk Industry DLC Better than Better Than Wolves ( BTBTW ) Better than Better Than Wolves ( BTBTW ) Realisticraft - The Realistic Experience Realisticraft - The Realistic Experience Ben  10 MINEDITION Ben 10 MINEDITION FreshCraft Fantasy DLC FreshCraft Fantasy DLC It Takes a Journey It Takes a Journey CoreCraft CoreCraft Realm of the Titans Realm of the Titans TABSMP Modpack TABSMP Modpack Myriad Dimensional Forge [SenDims BanForges] Myriad Dimensional Forge [SenDims BanForges] Better & Enhanced Better & Enhanced The Stuff of Legend The Stuff of Legend Permadeath+ Permadeath+ KRILLKRAFT KRILLKRAFT Affogato Affogato Bosses'Rise I Excalibur Bosses'Rise I Excalibur World War Z - Zombie Evolution World War Z - Zombie Evolution Chill Chill RoundAbout JoJo RoundAbout JoJo TchicX Modpack TchicX Modpack Better & Enhanced: Client Edition Better & Enhanced: Client Edition RiftRealm UNLIMITED RiftRealm UNLIMITED Create: SatisFactory Create: SatisFactory Create: Constructs of the Wild Create: Constructs of the Wild Elarion Elarion HCT - Hexandcube's Client Tweaks HCT - Hexandcube's Client Tweaks The Grand Quest The Grand Quest Simplicity Refabricated: Vanilla+ Simplicity Refabricated: Vanilla+ Gundustry Gundustry Simple Vanilla Overhaul Simple Vanilla Overhaul PvP+: Reimagined PvP+: Reimagined With Little More With Little More LUI BATTLE PACK LUI BATTLE PACK Beta Decay Beta Decay Vanilla Horizons Vanilla Horizons Actual Mobs (smarter and stronger mobs) Actual Mobs (smarter and stronger mobs) HexCraft HexCraft not a dreamscape not a dreamscape Vanilla's Finest Vanilla's Finest Sakeva Optimized Sakeva Optimized Lurker in the Fog: Herobrine’s Dominion Lurker in the Fog: Herobrine’s Dominion The Convergence I The Convergence I Prehistoricraft - The Prehistoric Experience Prehistoricraft - The Prehistoric Experience Nexus RPG Nexus RPG FluxEngine - Ultra Performance & Ultimate FPS Boost FluxEngine - Ultra Performance & Ultimate FPS Boost Sitchen Kink Sitchen Kink Jujutsu Kaisen Modern ERA-Cursed Fate Jujutsu Kaisen Modern ERA-Cursed Fate Decked Out Vanilla+ Decked Out Vanilla+ Terraclysm Terraclysm Sengoku Chronicles Sengoku Chronicles Lively Craft Lively Craft The More Horror The Better! The More Horror The Better! Beboucraft Beboucraft Silent Cities - Zombie Apocalypse Silent Cities - Zombie Apocalypse Smooth Stone Smooth Stone The Adventure of 1000 - Hunters of Evil The Adventure of 1000 - Hunters of Evil Better Survival (BSurvival2) Better Survival (BSurvival2) Jujutsu Kaisen Heian ERA-Cursed Fate Jujutsu Kaisen Heian ERA-Cursed Fate Runethal Runethal Age of Scales & Bones Age of Scales & Bones Goon Crew Collection VR Goon Crew Collection VR Heart&Beyond Heart&Beyond Essentials Essentials Master Farmer's Master Farmer's DrUltraLux's Steam Fantasy DrUltraLux's Steam Fantasy Embervale SMP Embervale SMP Hero To Zero Hero To Zero TFC Terra Incognita TFC Terra Incognita UNIPACK UNIPACK Flynn's Modpack Flynn's Modpack vilmiComfort vilmiComfort lestx's Barely Vanilla lestx's Barely Vanilla Opal Opal areoshot Onyx Onyx Shades 'n' Shine Shades 'n' Shine notha vanilla+ modpack notha vanilla+ modpack Vanilla Smooth🍃 Vanilla Smooth🍃 Mazite Mazite Rocks & Monsters Rocks & Monsters Belts & Beyond Belts & Beyond

External Resources