promotional bannermobile promotional banner

Xaero's Map Item Curios Compat

The item Xaero's Minimap or World Map is set to need also counts when it's worn in a Curios slot, not only in the hotbar, off hand or armour.

Xaero's Minimap and Xaero's World Map can be set to need an item before they work: minimap_item and map_item in their settings. They only look for that item in the hotbar, the off hand and the armour slots. This mod makes it count from any Curios slot too, so a pack can give its map item a slot of its own.

What it does

  • When the configured item is worn in any Curios slot, the minimap shows and the world map opens, the same as when it's in the hotbar.
  • Nothing else changes. With no item set (Xaero's default), the maps work exactly as before.

Setting it up

  • Choose the item in Xaero's settings: minimap_item for the minimap, map_item for the world map.
  • Give it a Curios slot with a slot file and an item tag in a data pack. This mod adds no slots and no items of its own.

In the Create: Mint & Machine modpack, a Surveyor's Compass turns on the minimap and an Explorer's Map opens the world map, each in its own Curios slot.

Requirements

  • Required: Curios API.
  • Optional: Xaero's Minimap and Xaero's World Map. Each part only runs when that mod is installed.
  • Written against Xaero's Minimap 26.6.0 and World Map 1.47.0. If a Xaero update changes the check, the game logs a mixin error at startup and the item counts from the hotbar, off hand and armour as before.
  • NeoForge 1.21.1. It only needs to be installed on players' games; it does nothing on a server.

There is nothing to configure.

Made for the Create: Mint & Machine modpack, but it works in any pack with Curios and Xaero's maps. Source is on GitHub (MIT).

AI disclosure

This mod was made with AI. Its code was written by Claude, Anthropic's AI model, using Claude Code, under TheSkyFell's direction. TheSkyFell decided what it does and tested it in the Create: Mint & Machine modpack. This description was also written with Claude. The logo is placeholder pixel art, drawn by a script Claude wrote, until TheSkyFell can afford to commission an artist. The full source and its history are on GitHub.

Xaero's Map Item Curios Compat Team

profile avatar
  • 9
    Projects
  • 546
    Downloads

More from TheSkyFellView all