
请勿将此模组与XaeroPlus一起使用!它与我无关,会导致无法追踪的严重漏洞/崩溃。据称它还与一个服务器恶意破坏组织有关联,这可能会让你的服务器建筑面临风险。
与许多其他小地图模组不同,Xaero的小地图保留了原版Minecraft的美学风格,这有助于它更无缝地融入游戏。它也是Minecraft中第一个可旋转的方形小地图。在众多自定义设置中,有一个圆形小地图选项,以及一个单独的锁定小地图旋转设置(改用方向箭头)。小地图可以显示周围的实体,包括玩家、生物和物品,以自定义颜色的点或图标(通常是头部)的形式呈现。除了默认的罗盘方向外,你还可以放置自己的路径点,这些路径点在小地图和游戏世界中均可见。路径点可帮助你找到先前访问过的位置或到达特定坐标,并支持可选的传送功能。小地图可以显示地面上和地面下的周围方块(洞穴模式)。这些只是该模组的部分功能,还有更多功能等待探索。请阅读下方的“小地图功能”部分以获取更完整的列表。为了遵守多人服务器规则,本模组有两个版本:完整版和公平竞技版,后者专为公平PVP设计。此模组主要是客户端侧的。在服务器端安装它是可选的,用于一些额外功能,如世界识别。
谢谢!
功能
- 原版 Minecraft 的外观。
- 多种小地图尺寸选项,包括自动调整。
- 多种缩放选项。
- 两种小地图形状选项:方形或圆形。
- 运行比许多小地图模组更流畅。
- 可通过“更改位置”设置/界面放置到屏幕上的任意位置。你甚至可以按 1 像素为单位移动它。在搭配其他 UI 模组时可能很有用。
- 2 种方块颜色模式:原版,使用原版 Minecraft 地图的颜色;以及精确,使用方块纹理和生物群系的颜色。你还可以通过单独的设置在原版模式下启用生物群系颜色。
- 一个自定义按键绑定(默认为 Z),用于临时放大小地图以便更好地观察周围。所有按键绑定都在原版控制菜单中。此外还有用于控制小地图放大时行为的设置,例如将小地图居中显示在屏幕上或完全缩小小地图。
- 通过“地形深度”和“地形坡度”设置自定义地图着色。
- 兼容 Xaero's World Map。默认使用世界地图模组生成的地图纹理,而不是自行生成。同时使用两个模组时可提升性能。
- 服务端配置,附带游戏内 UI 界面,可实时控制服务器上的玩家如何使用该模组。你可以基于等级/权限(xaero.minimap.enforced_server_profile)进行设置。支持 FTB Ranks、Odyssey Roles、LuckPerms 以及通用权限 API。
- 可选择将小地图访问权限绑定到快捷栏中所需的物品或需装备的物品,以此限制小地图的使用。例如,在配置文件的任意位置添加 minimapItemId:minecraft:compass 即可将其绑定到指南针物品。这样,除非你的快捷栏中有指南针或已装备指南针,否则不会显示小地图。
- 药水效果,用于控制服务器/地图上玩家对小地图或其部分功能的使用。撰写本文时存在以下药水效果:xaerominimap:no_minimap、xaerominimap:no_entity_radar、xaerominimap:no_waypoints、xaerominimap:no_cave_maps。这些效果默认属于中性类型,但你也可以在效果 ID 末尾追加 _harmful 来指定为有害类型,例如 xaerominimap:no_entity_radar_harmful。
- 已翻译成多种语言。
- 可选择锁定北方,阻止小地图旋转,改用箭头显示你的朝向。
- 得益于自动洞穴模式,在地面和地下均可使用。洞穴模式也会在建筑物内部激活。你可以选择模组搜索的头顶“实心屋顶”的大小来激活洞穴模式。屋顶大小为 3x3 及以上时,在砍伐木头时站在原木方块下方应能防止洞穴模式激活。
- 路径点。数量实际上无限。可传送至路径点(需要传送聊天命令权限)。路径点会渲染在游戏世界中并显示在小地图上。你可以隐藏所有或特定路径点。按 B 创建新路径点。按 U 列出所有路径点。在路径点列表中,你可以添加/编辑单个或多个路径点、对它们排序、查看其他子世界/维度的路径点等等。
- 本地和全局路径点。为了清理屏幕上不必要的路径点,你可以创建本地路径点,与全局路径点不同,本地路径点受“最大路径点绘制距离”选项影响。这样你就可以为一个大区域/地区设置单个全局路径点,并在该区域/地区内设置多个本地路径点。当你超出最大绘制距离时,只有全局路径点会可见。
- 路径点集合。你可以通过将路径点分类到集合中来组织它们。当前集合可通过按键绑定快速切换。所有按键绑定都在原版控制菜单中。
- 路径点分享。你可以在游戏聊天中与服务器上的玩家分享路径点。通过路径点列表(按 U)进行。
- 死亡点。每次死亡时会自动创建一个骷髅形状的路径点。旧的死亡点会转换为普通路径点,你可以通过“保留旧死亡点”设置禁用此功能。
- 显示来自 Open Parties and Claims 模组的区块认领和盟友玩家。
- 可切换的区块网格。区块网格显示方块区块的起始和结束位置。
- 可切换的史莱姆区块模式。可以生成史莱姆的区块会以绿色叠加层标记。
- 自定义光照叠加层。你可以设置光照叠加层,若方块处于自定义光照值范围内(默认方块光照为 0 到 7),则以自定义颜色标记它们。默认设置旨在寻找可生成怪物的方块。你可以将其用于任何目的。
- 多人游戏中的多世界检测。如果你在客户端之外还在服务端安装了小地图模组,那么每个服务器世界都会拥有独立的路径点“子世界”。否则会使用一种可靠性低得多的世界区分方式,该方式基于世界出生点。如果你无法在服务端安装该模组,建议对只有单个“世界”的服务器关闭多世界检测。你可以通过路径点菜单(按 U)-> 选项界面进行设置。
- 在地图上将 生物 显示为 黄点。 敌对和中立 生物可以用 不同颜色显示。也可以显示为图标/头像。请查看“实体雷达”设置。
- 在地图上将 玩家 显示为 白点或玩家头像。 也可以显示为图标/头像。请查看“实体雷达”设置。
- 在地图上将 物品 显示为 红点。请查看“实体雷达”设置。
- 在地图上将所有 其他实体 (如箭和物品展示框)显示为 紫点。 可在设置中禁用不同类型的实体。请查看“实体雷达”设置。
- 在“实体雷达”设置中,有关于在小地图上显示实体名称的选项 。
- 放大和缩小按键绑定 (默认为 I 和 O),可高效调整缩放级别以符合你的偏好或使用场景。
- 小地图下方的坐标 。
- 小地图下方的当前生物群系名称 。默认禁用,需要在模组设置中启用(按 Y)。
- 小地图下方的光照等级 。同样默认禁用,需要在模组设置中启用(按 Y)。
- 小地图下方的当前游戏时间。默认禁用。你可以选择 12 小时制或 24 小时制格式。
- 小地图下方的当前视角角度。默认禁用。
- 可在所有 UI 界面中隐藏/显示所有路径点坐标的设置。对直播/视频可能有用。
- 可在下拉菜单中完全隐藏/显示所有服务器地址信息的设置。该设置默认为“部分”,在大多数情况下可能已经足够。
- 还有更多设置。太多而无法在此一一列出。在游戏中按 Y 打开设置看看吧。
- 2 个模组版本:完整版和公平版。 完整版 没有任何限制。 公平版 不显示任何实体或洞穴地图,更适合与不使用小地图的玩家进行 PVP。
获取公平版
获取 Xaero's World Map
常见问题
为什么实体雷达图标已启用,但原版生物却渲染异常或只显示为带名字的圆点?
当你使用的模组与资源包组合修改了原版生物的模型和/或动画时,就会出现这种情况。这会破坏小地图模组基于模型的图标渲染代码的兼容性,因为模型已经不再相同。你可以移除导致此问题的资源包,或者安装另一个包含所有原版生物雷达图标精灵图的资源包,例如以下这个:Xaero Minimap X Fresh Animations
为什么传送至路径点对我无效?
原因可能有很多。该模组会发送一条聊天命令来将你传送至路径点,默认命令是 /tp @s x y z,因此需要相应的权限。原版 /tp 命令需要 OP 权限(已启用作弊),但在安装了某些插件的非原版服务器上,命令可能有独立的权限设置。所使用的命令可以在小地图设置的“默认传送命令”选项中更改,也可以在每个服务器的路径点菜单中通过“传送聊天命令”选项更改。非原版的传送命令通常不支持 @s 这类选择器,因此你可能需要从配置的命令中将其移除。在世界地图上右键传送使用的是其自己的命令设置。你可以在世界地图说明页面的常见问题中找到相关内容。
如果“传送”按钮被禁用,这也可能意味着多种情况。最常见的原因是从一个非“自动”子世界手动使用路径点,但它们仍然属于同一维度。如果在某个世界中自动选取的子世界并非预期的那个,请选择正确的子世界,并在路径点菜单的选项中点击“设为自动子世界”。这会在两个子世界之间交换所有路径点数据,之后你就可以传送到现在位于你的“自动”子世界中的路径点了。
如果“自动”子世界已被选中,但传送按钮仍被禁用,那可能意味着传送功能已针对该服务器/世界被手动禁用。请检查路径点菜单选项中的传送选项。如果它被禁用,你只能通过游戏目录下的服务器专属配置文件来启用它 -> xaero/minimap(旧版本中为 XaeroWaypoints)。我建议在编辑任何配置文件之前先退出 Minecraft。并且不时进行备份。
为什么我的路径点不再显示在某个特定服务器上?
不要慌。它几乎肯定并没有真的被删除。如果你使用了世界地图模组,并且它也被重置了,那么请先从恢复它开始,然后再处理路径点。阅读世界地图描述页面上的“为什么我的世界地图在某个特定服务器上会‘重置’?”一节。看完了?请继续阅读。
首先打开完整的路径点菜单。在游戏内按 U 键即可。如果 U 键不起作用,请检查原版控制菜单。浏览右上角下拉菜单中列出的子世界。当前服务器地址的所有路径点子世界都应该在里面。如果其中没有任何一个包含你所在世界/维度对应的正确路径点,那么服务器地址很可能被更改了。在左上角下拉菜单中找到旧的服务器地址,选中它并执行选项 -> 将世界/服务器设为自动。现在你应该能在右上角下拉菜单中找到正确的子世界了。如果正确的子世界已经标记为 (auto),这意味着该子世界已自动为你的当前世界/维度选中,那么就没问题了。如果错误地标记为 (auto) 的是其它子世界,那么请继续阅读。
使用了世界地图模组?
错误子世界被自动选中的最常见原因之一,是在多人游戏中对世界地图模组的不当使用(自 1.6 版本起)。确保在确认之前为你的当前世界选择了正确的地图。它会影响向你显示的路径点。地图选择菜单位于世界地图界面,点击左下角图标即可打开(除非它默认处于打开状态)。如果适合你游玩的服务器,可以考虑将地图选择模式改为某个自动模式。
你当前确认的地图决定了小地图模组中哪个路径点子世界被认为是自动 (auto) 的。这使得每个已创建的地图可以拥有独立的路径点数据。任何时候,你都可以前往路径点菜单(按 U),从右上角下拉菜单中选择并查看任何非自动的路径点子世界。你可以通过选择选项 -> 将子世界设为自动,为当前确认的地图将任意子世界设为自动。
未使用世界地图模组?
错误子世界被认为 (auto) 从而被自动选中,可能是由服务器插件更改了原版指南针物品的行为、干扰了模组的“多世界”检测(如果你启用了该功能,默认关闭)导致。在大多数此类情况下,指南针物品指向你的床而不是全局出生点。如果睡在另一个床上是路径点消失的原因,那么再次睡在正确的床上应该能为你恢复一切。
如果这是由于添加了新插件导致的(而且你无法移除它),那么以下是你恢复路径点的方法:
1. 在路径点界面的右上角下拉菜单中找到正确的路径点“子世界”,就是包含你当前维度所需路径点的那个。不妨先从主世界开始?
2. 使用选项 -> 将子世界设为自动。
3. 对每个维度都执行相同操作(操作前先进入对应维度!)。
4. 如果这是一个只有一个世界的简单服务器(没有大厅/前厅世界,没有小游戏世界、创造地块世界等),那么也请在同一个选项菜单中关闭“多世界检测”。如果以后需要,你可以重新开启它。
如有疑问,请联系我!
如何添加我自己的实体图标或覆盖默认图标?
首先,请确保你确实在小地图设置 -> 实体雷达分类中启用了实体图标/头像,无论是设置为“始终”还是“玩家列表”。只需确保你知道如何显示它们。本节所讲的就是这些图标。
从小地图模组 21.6.0 版本开始,你可以通过制作资源包(或将所需资源包含在你自己的模组中)来用自己的精灵图/图片覆盖实体的默认显示图标。除此之外,你还可以通过创建自己的简单模组或在现有模组中加入一些代码,来添加或改进实体类型变体支持(同一实体类型的不同变体拥有不同的图标)。不过,对于较简单的多变异实体类型(大多数实体类型)来说,这通常是不必要的。
默认情况下,小地图模组使用绑定到实体的实体渲染器/模型来渲染所有实体图标。这支持所有原版生物,以及一些简单的、其模型具有易于识别的头部模型部件(头部、耳朵、鼻子等)的双足/四足生物。如果模组无法做到这一点,则会改为显示彩色圆点。
用于覆盖图标的相关资源目录是 /assets/xaerominimap/entity/icon/。你可以在小地图模组的 jar 文件中找到它,并提取其中包含的文件/文件夹以供参考。该 jar 包含一个用于覆盖模组实体类型图标的示例文件 /assets/xaerominimap/entity/icon/definition/example_mod/example_entity.json。该示例文件将对应实体类型 example_mod:example_entity(如果存在的话)。请阅读文件 example_entity.json 中的注释以了解其结构,这样你就能够创建与之类似的自己的图标定义。
除此之外, /assets/xaerominimap/entity/icon/definition/minecraft/ 包含若干原版实体类型的示例文件,这些文件可能需要添加关于默认实体类型变体支持的额外注释。默认情况下,实体具有非常简单的变体支持,实体类型变体 ID 就是该实体的主纹理资源位置。
如果你将小地图配置文件中的“debugEntityVariantIds”选项设置为 true,那么新遇到的实体(变体)的变体 ID 将会打印在聊天栏以及日志/控制台中。
从小地图模组 21.8.0 版本开始,你还可以配置自己的基于模型的渲染。请阅读示例文件 /assets/xaerominimap/entity/icon/definition/example_mod/example_entity.json 中的注释,以获取你需要的所有信息。
如果你想看看自定义图标的真实实现,或者实际使用它,请查看 babybluetit 的这个精彩项目:
我如何禁止在我的服务器上使用洞穴模式和/或实体雷达?
为此,请在服务器端安装该模组(撰写本文时需要 NeoForge/Forge/Fabric/Quilt 服务器)。
如果你使用的小地图版本至少为 25.3.0,那么请设置并使用“Minimap Server Settings”按键绑定来打开服务器设置。你可以在那里强制启用几乎任何选项,包括洞穴模式、实体雷达,甚至创建自定义实体雷达分类。
在较旧的模组版本中,当你启动服务器时,会在服务器目录(不是世界文件夹)中创建一个新的“common”配置文件,通常位于“config”文件夹中。在配置文件中,你会看到多个选项,可以让你为玩家禁用某些模组功能。更改需要重启服务器。
或者,如果你无法安装该模组,可以在发送给玩家(登录时)的服务器/系统消息中包含以下字符串,它们的作用如下:
§f§a§i§r§x§a§e§r§o - 使客户端禁用洞穴模式(包括世界地图)和实体雷达(公平游戏模式)
§x§a§e§r§o§m§m§n§e§t§h§e§r§i§s§f§a§i§r - 使小地图的洞穴模式在下界中工作,尽管开启了公平游戏模式。世界地图为此有单独的代码,看起来几乎一模一样。
§n§o§m§i§n§i§m§a§p - 完全禁用小地图
§r§e§s§e§t§x§a§e§r§o - 重置所有系统消息标志
这里有一个为你简化此操作的第三方 Spigot 插件(与我无关,也非我创建):XMMForceFairPlay
以及一个功能类似的第三方数据包(与我无关,也非我创建):Xaero's Map Server Utils
使用任何第三方附加组件需自行承担风险。
我如何让原版客户端玩家加入已安装该模组的服务器?
在服务器目录(不是世界文件夹)中的 config 文件夹里查找“common”配置文件,通常位于 config/xaero/minimap。其中一个选项可以让你禁用状态效果的注册,正是它阻止了玩家加入。更改需要重启服务器。对世界地图模组也做同样的操作。
面向开发者
要用你自己的模组接入本模组,首先将以下仓库添加到你的构建脚本中:
repositories {
maven {
url "https://chocolateminecraft.com/maven"
name "Xaero's Maven"
}
}
如果你使用的是 Forge,请确保你的项目中应用了 MixinGradle 插件(org.spongepowered.mixin),除非你使用的是 1.12.2。
最后,添加以下依赖声明中的一项或多项,并将 <minecraft version> 和 <mod version> 替换为你可以在 看到的具体值。
Forge 在 1.21.1 之前使用官方 Mojang 映射:
implementation "xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>:dev"//purposely no deobfuscation!
Forge 在 1.21.1 或之后使用官方 Mojang 映射:
implementation "xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>"
Forge 使用其他映射:
implementation fg.deobf("xaero.lib:xaerolib-forge-<minecraft version>:+")
implementation fg.deobf("xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>")
Fabric:
modImplementation "xaero.minimap:xaerominimap-fabric-<minecraft version>:<mod version>"
NeoForge:
implementation "xaero.minimap:xaerominimap-neoforge-<minecraft version>:<mod version>"
在多加载器配置中的“common”项目里:
compileOnly "xaero.minimap:xaerominimap-common-<minecraft version>:<mod version>"
整合包及其他
你可以使用本模组制作视频。
在满足以下条件的情况下,允许在你的整合包中使用本模组:
- 仅允许通过 CurseForge 或 Modrinth 对整合包盈利(包括在你的整合包描述中放置赞助链接/横幅),除非我已书面授权你在其他地方盈利。欢迎私信我讨论此事。我批准的可能性很大。
- 如果整合包在 CurseForge 和 Modrinth 之外分发,那么你必须向 CurseForge 和 Modrinth 之外的用户提供指向我本模组官方页面之一的、易于访问的链接,以表明对我的署名。
- 整合包的名称和/或描述不得与我的模组的名称/描述产生混淆。
- 如果我已书面授权你在 CurseForge 和 Modrinth 之外对整合包盈利,那么,如果我提出要求,你必须移除 CurseForge 和 Modrinth 之外的盈利。

Do not use XaeroPlus with this mod! It is not affiliated with me and causes critical untrackable bugs/crashes. It is also allegedly affiliated with a server griefing group, which can put your server builds at risk.
Unlike many other minimap mods, Xaero's minimap keeps the aesthetic of vanilla Minecraft, which helps it be a more seamless addition to the game. It is also the first rotating square minimap for Minecraft. Among a wide variety of customization settings, there is an option for a circle-shaped minimap and a separate setting for locking the minimap's rotation (using a direction arrow instead). The minimap can display the surrounding entities, including players, mobs and items, as dots with a custom color or as icons (usually heads). In addition to the default compass directions, you can place your own waypoints that are visible both on the minimap and in the game world. Waypoints help you find previously visited locations or reach specific coordinates, with optional teleportation. The minimap can display the surrounding blocks above ground and below ground (cave mode). These are just some of the features of the mod while there are many more. Please read the "Minimap features" section below for a more complete list. For the purposes of following multiplayer server rules, there are 2 mod editions, full and fair-play, the latter being designed for fair PVP. This mod is mostly client-sided. Installing it on the server side is optional for some additional features like world identification.
Follow me on Mastodon (Twitter alternative)? mas.to/@xaero96
Thank you!
Features
- Look of vanilla Minecraft.
- Multiple minimap size options including automatic.
- Multiple zoom options.
- Two minimap shape options: square or circle.
- Runs smoother than a lot of minimap mods.
- Can be placed anywhere on the screen using the "Change Position" setting/screen. You can even shift it by 1 pixel if you so wish. Can be useful when playing with other UI mods.
- 2 block color modes: Vanilla, which uses the colors of vanilla Minecraft maps and Accurate, which uses the colors of block textures and biomes. You can also enable biome colors for the Vanilla mode using a separate setting.
- A custom key binding (Z by default) to temporarily enlarge the minimap to take a better look around. All key bindings are in the vanilla controls menu. There are also settings for controlling the behavior of the minimap when it is enlarged, for example to center the minimap on the screen or to fully zoom out the minimap.
- Map shading customization with the "Terrain Depth" and "Terrain Slopes" settings.
- Compatible with Xaero's World Map. By default uses the map textures generated by the world map mod instead of generating its own. This improves performance when using both mods.
- Server-sided configs with an in-game UI screen that let you control in real time how players on your server are able to use the mod. You can base it on ranks/permission (xaero.minimap.enforced_server_profile). Supports FTB Ranks, Odyssey Roles, LuckPerms and general permission APIs.
- Option to limit your minimap access by binding it to an item required in your hotbar or to be equipped. For example, add minimapItemId:minecraft:compass anywhere in the config file to bind it to the compass item. This way the minimap will not be displayed unless you have the compass in your hotbar or equipped.
- Potion effects to control the usage of the minimap or some of its features for the players on your server/map. The following potion effects exist as of writing this: xaerominimap:no_minimap, xaerominimap:no_entity_radar, xaerominimap:no_waypoints, xaerominimap:no_cave_maps. The effects are of the neutral type by default, but you can also specify a harmful type by appending _harmful to the end of the effect ID, for example xaerominimap:no_entity_radar_harmful.
- Translated to a lot of languages.
- Option to lock north to stop the minimap from rotating and instead display the direction of your character with an arrow.
- Works both above and under ground thanks to the automatic cave mode. Cave mode should also activate inside buildings. You can choose the size of the "solid roof" above you that the mod searches for to activate cave mode. Roof size 3x3 and above should prevent cave mode activation when standing under log blocks while cutting wood.
- Waypoints. Practically an infinite amount. Can be teleported to (permission for teleportation chat command needed). Waypoints are rendered in the game world and displayed on the minimap. You can hide all or specific waypoints. Press B to create a new waypoint. Press U to list all the waypoints. In the waypoints list, you can add/edit a single or multiple waypoints, sort them, view waypoints from other sub-worlds/dimensions and much more.
- Local and global waypoints. To clear the screen from unnecessary waypoints you can create local waypoints that, unlike global ones, are affected by the "Max WP Draw Distance" option. This enables you to set a single global waypoint for a large area/region and multiple local ones in the area/region. Only the global waypoints will be visible when you are beyond the maximum draw distance.
- Waypoint sets. You can organize your waypoints by sorting them into sets. Your current set can be quickly switched with a key binding. All key bindings are in the vanilla controls menu.
- Waypoint sharing. You can share your waypoints in the game chat with players on the server. This is done from the waypoints list (press U).
- Deathpoints. An automatic skull-shaped waypoint is created on each death. Old deathpoints are converted to regular waypoints, which you can disable using the "Keep Old Deathpoints" setting.
- Displays chunk claims and ally players from the Open Parties and Claims mod.
- Togglable chunk grid. The chunk grid shows you where block chunks begin and end.
- Togglable slime chunks mode. The chunks where slimes can spawn are marked with a green overlay.
- Custom light overlay. You can setup a light overlay that will mark blocks with a custom color if they are within a custom light value range, which is block light from 0 to 7 by default. The default settings are meant for finding mob-spawnable blocks. You can use it for any purpose.
- Multi-world detection in multiplayer. If you install the minimap mod on the server side in addition to the client side, each server world should get a separate waypoints "sub-world". Otherwise a much less reliable world separation is used, which is based on the world spawnpoint. If you can't install the mod on the server side, it is recommended to turn off multi-world detection for servers that only have a single "world". You can do it through the Waypoints Menu (press U) -> Options screen.
- Displays mobs on the map as yellow dots. Hostile and friendly mobs can be colored differently. Can also be displayed as icons/heads. Check the "Entity Radar" settings.
- Displays players on the map as white dots or player heads. Can also be displayed as icons/heads. Check the "Entity Radar" settings.
- Displays items on the map as red dots. Check the "Entity Radar" settings.
- Displays all the other entities such as arrows and item frames as purple dots. Different types of entities can be disabled in the settings. Check the "Entity Radar" settings.
- Options for displaying entity names on the minimap in the "Entity Radar" settings.
- Zoom in and out key bindings (I and O by default) to efficiently change the zoom level to fit your preference or use case.
- Coordinates under the minimap.
- Current biome name under the minimap. Disabled by default and needs to be enabled in the mod settings (press Y).
- Light level under the minimap. Also disabled by default and needs to be enabled in the mod settings (press Y).
- Current game time under the minimap. Disabled by default. You can choose between the 12 hour and the 24 hour formats.
- Current camera angles under the minimap. Disabled by default.
- Setting to hide/unhide all waypoint coordinates from all UI screens. Can be useful for streams/videos.
- Setting to fully hide/unhide all mentions of server addresses in dropdown menus. The setting is set to "Partial" by default, which is probably good enough in most cases.
- A LOT MORE SETTINGS. Too many to list them all here. Press Y in game to open the settings and take a look.
- 2 mod editions: full and fair-play. Full version does not have any limits. Fair-play version does not display any entities or cave maps which is more suitable for PVP against people who don't use a minimap.
Get fair-play edition
Get Xaero's World Map
FAQ
Why are entity radar icons enabled but render weirdly or just as dots with names for vanilla mobs?
This can happen when using a mod + resource pack combination that modifies the models and/or animations of vanilla mobs. This breaks compatibility with the minimap mod's model-based icon rendering code because the models are no longer the same. You can either remove the resource pack causing this or install another resource pack which contains radar icon sprites for all vanilla mobs, for example the following one: Xaero Minimap X Fresh Animations
Why does waypoint teleportation not work for me?
There can be many reasons for this. The mod sends a chat command to teleport you to the waypoints, which is /tp @s x y z by default, so appropriate permission is necessary. The vanilla /tp command requires OP status (cheats enabled) but it's possible to have separate permissions for commands on a non-vanilla server with certain plugins installed. The used command can be changed in the minimap settings with the "Default Teleport Command" option or per server in the waypoints menu with the "Teleport Chat Command" option. Non-vanilla teleportation commands often don't support the selectors such as @s, so you might have to remove it from the configured command. Right-click teleportation on the world map uses its own setting for the command. You can read about it on the world map description page under FAQ.
If the "Teleport" button is disabled, then it can also mean multiple things. The most common reason for this is manually using waypoints from a sub-world that isn't the "auto" one but still from the same dimension. If the "auto" sub-world isn't what is supposed to be automatically picked on a certain world, then select the correct sub-world and use "Make Sub-world Auto" in the waypoints menu Options. This will swap all waypoints data between the 2 sub-worlds and you'll be able to teleport to the waypoints, which are now in your "auto" sub-world.
If the "auto" sub-world IS selected but the teleport button is still disabled, then it probably means that teleportation was manually disabled for the server/world. Check the teleportation option in the waypoints menu Options. If it's disabled, you can only enable it through the server-specific config file in the game directory -> xaero/minimap (XaeroWaypoints in older versions). I recommend exiting Minecraft before editing any config files. And make backups from time to time.
Why are my waypoints no longer shown for a specific server?
Do not panic. It's almost certainly not actually deleted. If you use the world map mod and it has also reset, then please start by restoring it first before dealing with the waypoints. Read the "Why has my world map "reset" for a specific server?" section on the world map description page. Done with that? Please continue reading.
Start by opening the full waypoint menu. Press U ingame to do so. Check the vanilla controls menu, if the U key doesn't work. Go through the sub-worlds listed in the top-right dropdown menu. All waypoint sub-worlds for the current server address should be there. If none of them have the right waypoints for the world/dimension that you are in, then the server address was likely changed. Find the old server address in the top-LEFT dropdown menu, select it and do Options -> Make World/Server Auto. You should now be able to find the correct sub-world in the top-right dropdown menu. If the right sub-world is already marked with (auto), which means that the sub-world is automatically selected for your current world/dimension, then you should be good to go. If the wrong sub-world is marked with (auto), then please continue reading.
Using the world map mod?
One of the most common reasons for the wrong sub-world being automatically selected is the incorrect usage of the world map mod in multiplayer (since version 1.6). Make sure you select the correct map for your current world before confirming it. It affects which waypoints are being shown to you. The menu for map selection is on the world map screen, if you click the bottom left icon (unless it's open by default). Consider changing the map selection mode to one of the automatic ones, if it fits the server you're playing on.
Your currently confirmed map affects which waypoints sub-world in the minimap mod is considered automatic (auto). This allows each created map to have separate waypoints data. At any point in time, you can select and view any non-automatic waypoints sub-world by going to the waypoints menu (press U) and selecting it from top-right dropdown menu. You can make any sub-world automatic for your currently confirmed map by selecting Options -> Make Sub-World Auto.
Not using the world map mod?
The wrong sub-world being considered (auto) and therefore being automatically selected can be caused by a server plugin changing the behavior of the vanilla compass item and interfering with the mod's "multiworld" detection, if you have it enabled (disabled by default). In most such cases the compass item points to your bed instead of the global spawn point. Sleeping in the right bed again should bring everything back for you if sleeping in another one was the cause of the waypoints disappearing.
If this happened because of a new plugin being added (and if removing it is not an option for you), then here's how you can restore your waypoints:
1. Find the right waypoints "sub-world" from the top-right dropdown menu in the waypoints screen, it's the one with the waypoints that you need in your current dimension. Perhaps start with overworld?
2. Use Options -> Make sub-world auto.
3. Do the same for every dimension (enter the dimensions before doing it!).
4. If it's a simple server with 1 world (no hub/lobby worlds, no minigame worlds, creative plot worlds etc), then also turn off "Multiworld Detection" in the same Options menu. You can turn it back on later if you ever need it.
Contact me if you have questions!
How do I add my own entity icons or override the default ones?
First of all, make sure that you actually have the entity icons/heads enabled in the minimap settings -> Entity Radar Categories, whether you put it on "Always" or "Player List". Just make sure that you know how to display them. Those are the icons that this section is about.
Starting from version 21.6.0 of the minimap mod you are able to override the default icons displayed for entities with your own sprites/images by making a resource pack (or including the required resources in your own mod). In addition to that, you are also able to add or improve entity type variants support (different variants of the same entity type having different icons) by creating a simple mod of your own or including some code in your existing mod. Although this is usually unnecessary for simpler multi-variant entity types (most entity types).
By default, the minimap mod renders all entity icons using the entity renderers/models bound to the entities. This supports all vanilla mobs and some simple bipedal/quadrupedal mobs whose models have easily identifiable head model parts (head, ears, nose etc). If the mod fails to do so, the colored dot is displayed instead.
The relevant assets directory to the purpose of overriding the icons is /assets/xaerominimap/entity/icon/. You can find it inside the minimap mod's jar file and extract the contained files/folders for your reference. The jar contains an example file for overriding icons of a mod entity type /assets/xaerominimap/entity/icon/definition/example_mod/example_entity.json. The example file would corresponds to the entity type example_mod:example_entity, if such existed. Please read the comments in the file example_entity.json to learn about its structure, so that you are able to create your own icon definitions similar to it.
In addition to that, /assets/xaerominimap/entity/icon/definition/minecraft/ contains several example files for vanilla entity types that might require additional comments regarding the default entity type variants support. By default, entities have very simple variants support where the entity type variant ID is simply the entity's main texture resource location.
If you set the "debugEntityVariantIds" option in the minimap config file to true, then the variant IDs of newly encountered entities (variants) will be printed in the chat and the log/console.
Starting from version 21.8.0 of the minimap mod you are also able to configure your own model-based rendering. Please read the comments in the example file /assets/xaerominimap/entity/icon/definition/example_mod/example_entity.json for all the information you need to know.
Check out this awesome project by babybluetit, if you want to have a look at a real implementation of custom icons or actually use it:
How do I prohibit the use of cave mode and/or entity radar on my server?
To do that, please install the mod on the server side (requires a NeoForge/Forge/Fabric/Quilt server as of writing this).
If your minimap version is at least 25.3.0, then set and use the "Minimap Server Settings" key binding to open server settings. You can enforce almost any option there, including Cave Mode, Entity Radar or even create custom entity radar categories.
On older mod versions, when you start your server, a new "common" config file will be created in the server directory (not the world folder), usually in the "config" folder. In the config file, you get multiple options that let you disable certain mod features for your players. Changes require a server restart.
Alternatively, if you can't install the mod, you can include the following strings in a server/system message sent to players (on login), which do the following:
§f§a§i§r§x§a§e§r§o - causes the client to disable cave mode (including world map) and entity radar (fair-play mode)
§x§a§e§r§o§m§m§n§e§t§h§e§r§i§s§f§a§i§r - causes minimap cave mode to work in the nether despite the fair-play mode. The world map has a separate code for this that looks almost identical.
§n§o§m§i§n§i§m§a§p - disables the minimap completely
§r§e§s§e§t§x§a§e§r§o - reset all the system message flags
Here's a third-party Spigot plugin that simplifies this for you (not affiliated with or created by me): XMMForceFairPlay
And a third-party datapack with similar functionality (not affiliated with or created by me): Xaero's Map Server Utils
Use any third-party addons at your own risk.
How do I let vanilla client players join my server that has the mod installed?
Look for the "common" config file in the config folder directly in your server directory (not the world folder), usually config/xaero/minimap. One of the options lets you disable the registration of status effects, which is what prevents players from joining. Changes require a server restart. Do the same for the world map mod.
For Developers
To hook into this mod with your own, first add the following repository to your build script:
repositories {
maven {
url "https://chocolateminecraft.com/maven"
name "Xaero's Maven"
}
}
If you're on Forge, make sure the MixinGradle plugin is applied in your project (org.spongepowered.mixin), unless you're on 1.12.2.
Finally, add one or more of the following dependency declarations, replacing <minecraft version> and <mod version> with actual values you can see at .
Forge with official Mojang mappings before 1.21.1:
implementation "xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>:dev"//purposely no deobfuscation!
Forge with official Mojang mappings on 1.21.1 or after:
implementation "xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>"
Forge with other mappings:
implementation fg.deobf("xaero.lib:xaerolib-forge-<minecraft version>:+")
implementation fg.deobf("xaero.minimap:xaerominimap-forge-<minecraft version>:<mod version>")
Fabric:
modImplementation "xaero.minimap:xaerominimap-fabric-<minecraft version>:<mod version>"
NeoForge:
implementation "xaero.minimap:xaerominimap-neoforge-<minecraft version>:<mod version>"
In "common" projects in multi-loader setups:
compileOnly "xaero.minimap:xaerominimap-common-<minecraft version>:<mod version>"
Modpacks and Other
You are allowed to make videos using this mod.
Using it in your modpacks is allowed with the following conditions:
- Only monetization of the modpack through CurseForge or Modrinth is allowed (which includes sponsored links/banners in your modpack description), unless I have given you written permission to monetize it elsewhere. Feel free to private message me about it. I'm more likely to give you permission than not.
- If the modpack is distributed outside of CurseForge and Modrinth, then you must credit me by providing an easily accessible link to one of my official pages for the mod, to the users outside of CurseForge and Modrinth.
- The name and/or description of the modpack must not be easily confused with the names/descriptions of my mods.
- If I have given you written permission to monetize the modpack outside of CurseForge and Modrinth, then, if I request you to, you must remove monetization outside of CurseForge and Modrinth.
评论 0
登录后参与评分
还没有评论,来抢沙发吧