Description
CnC Xaero's Addon is a Forge 1.20.1 companion mod for Xaero's World Map that adds three server-driven features:
-
/map fill— server reads the world's region (.mca) files directly and streams the chunk data to a client's Xaero map cache, so a player can browse the full world map without flying every chunk. Requests are queued one-at-a-time and the player is auto-disconnected on completion so Xaero picks up the new tiles cleanly. -
/map clear— wipes the local Xaero tile cache for the current dimension (or all dimensions, or another player's cache when run by an op). -
Icon overlay — the server pushes a JSON-defined list of textured icons (with multi-line tooltips) drawn over Xaero's map. PNGs can either be bundled assets or files dropped into
config/cncxaerosaddon/images/; in the latter case the bytes are SHA-256 hashed and streamed to clients on demand, with a per-player serialized queue server-side and a disk-backed hash cache client-side.
Required on both sides; Xaero itself is only required on the client. Built on Forge SimpleChannel networking with a strict protocol-version handshake, plus a Mixin into xaero.map.gui.GuiMap for the overlay renderer.


