This mod gives you coordinates of the structure that is on the treasure map that you are holding
Use command /mapcoords while holding a treasure map in your main or off hand
Also you can copy coordinates to clipboard by clicking the message

How to Install Treasure Map Coordinates (Mod)
Treasure Map Coordinates by TrRuki is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.2 (latest release: 1.0.0, file size: 82 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.2) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Treasure Map Coordinates file into your Minecraft
.minecraft/modsfolder and launch the game.