跳到正文

Better Compass

作者:kindaWkid

The mod adds tooltip display of the lodestone’s coordinates, distance, and dimension when hovering over a compass, with switchable display modes via a configurable keybind

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Better Compass Enhancer Mod

Overview

This mod enhances the Lodestone Compass by displaying additional useful information when hovering over it in the inventory. It provides a cleaner and more informative way to understand where the compass is pointing without needing to place or follow it in-game.

Features

Lodestone Data Detection

The mod automatically detects when an item is a Lodestone Compass by reading its NBT data. If the compass is linked to a lodestone, it extracts the stored coordinates and dimension information.

Coordinates Display

When hovering over the compass, the tooltip shows the exact stored coordinates of the lodestone:

  • X, Y, Z position of the target block

Distance Calculation

The mod calculates the real-time distance between the player and the lodestone using 3D Euclidean distance.

  • Displays the distance in blocks
  • Updates dynamically based on the player’s position

Dimension Information

The tooltip also shows which dimension the lodestone is located in:

  • Overworld
  • Nether
  • End

If the player is in a different dimension than the lodestone, the mod highlights this as a warning in the tooltip.

Tooltip Display Modes

The mod includes multiple display modes that control how much information is shown:

  • Coordinates only
  • Coordinates + Distance
  • Full info (Coordinates + Distance + Dimension)

The player can switch between these modes using a keybind.

Configurable Keybind

  • The keybind can be changed in the in-game controls settings menu
  • Default key: H
  • Pressing the key cycles through the available display modes

Behavior

  • Works only on the client side
  • Does not require any server-side changes
  • Does not interfere with vanilla gameplay mechanics
  • Only modifies the tooltip of Lodestone Compasses with valid NBT data
  • Handles missing or invalid data safely without errors

User Experience

The mod keeps the vanilla feel while adding subtle but powerful information. It is designed to be lightweight, non-intrusive, and intuitive, helping players track lodestones more efficiently and understand their compass targets at a glance.

常见问题

Better Compass 支持哪些 Minecraft 版本?

Better Compass 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Better Compass 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

kindaWkid 的其他作品

查看全部 →