Data Packs Quality of Life

Map Preview Icons

  • 210 views • 1 today
  • save_alt 22 downloads
Compatibility
Minecraft 26.3 snapshot
Changes include
  • Advancements
  • Functions
  • Predicates
  • Recipes
  • 2
  • 2
Eroxen
Lvl 58 • Grandmaster Crafter
165
If you've ever used maps in Minecraft, you've probably ran into the issue where you have dozens of maps in your inventory, and now you need to hold them one by one to find the one you're looking for. With Map Preview Icons, that's a thing of the past! Map item icons now show a little preview of the map, so you can tell them apart at a glance.



Left: all maps look the same. Right: each map shows a preview so you can tell them apart.

How it works + limitations


This project uses both a datapack and a resourcepack. The resource pack makes the map item model a composite of a bunch of pixels that can individually be coloured through custom model data. When you're holding a map, the datapack scans the blocks around you to set the right colours on that custom model data.



One technical limitation of Datapacks is that they cannot read map data. Map Preview Icons tries to circumvent this issue by tracking where each map was made with a custom system. The moment you create a new map your position is recorded and stored, and when you use a Cartography Table your inventory is monitored for changes. This way of doing things has some limitations! First of all, any maps you made before installing this pack will not show a preview, since the pack was not there to record you making the map. Also, in some rare edge cases the monitoring of the Cartography Table may not give correct results. Both of these issues can be fixed by manually setting the map's metadata. You can do this by using the Quick Actions (default keybind: G) and following the instructions that pop up.



One more note: this datapack disables the vanilla recipe to extend (zoom out) maps in the Crafting Table. You can now only extend maps in the Cartography Table.

1 Update Logs

V0.2.0 : by Eroxen 09/15/2026 12:20:49 pmSeptember 15 @ 4:20 pm UTC

  • Updated pack version for full 26.3 release
  • Improved colour parity with real maps:
    • The datapack now knows the colours for all blocks in 26.3, before it only had this info for blocks that existed in 1.21.11
    • The shade of blue for water blocks now depends on the depth of the water
    • Blocks that are ignored by maps, such as glass and iron bars, are now also ignored by MPI
  • Improved metadata tracking:
    • When you create a new map and your inventory is full, causing the new map to be dropped on the ground, it is now registered properly

More like this

  Have something to say?

Welcome