Map Distance Fix

Quick rating

Map Distance Fix

No reviews yet

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

No Theme
No Genre
Maps & Information
QoL & Tweaks
Bug Fixes
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Optional

About

Project Details

Type
Mod
License
MIT License
Latest Version
mapdistancefix-neoforge-1.1.2+mc26.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

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.

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:

  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 or post a comment in the curseforge page!

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!

Screenshots

Gallery

  • Screenshot
    Screenshot Ekran Görüntüsü (316).png

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
1
In stacks

By the numbers

Statistics

1.9m
Total Downloads
CurseForge
1.5m
Modrinth
~420,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works