GUI Compass (Legacy Fabric)
GUI Compass (Legacy Fabric)
This mod is part of The Vanilla Experience.
GUI Compass is a minimalistic client-side mod with configuration options that displays direction and coordinates in the interface when a compass is present in the inventory. By default, the compass is positioned in the top left corner of the screen, but you can change its position and height through configuration.
Display Format Configuration
The format of the displayed information can be changed using the guiCompassFormat configuration parameter.
Default format: Direction: X, Y, Z
You might also be interested in the GUI Clock mod.
Available Settings
guiCompassFormat (default = "FXYZ"): Determines what exactly is displayed in the compass interface. F: facing direction, X: X coordinate, Y: Y coordinate (depth), Z: Z coordinate.
mustHaveCompassInInventory (default = true): When enabled, the compass in the interface is only displayed when a compass is present in the inventory.
compassPositionIsLeft (default = true): Places the compass on the left side of the screen.
compassPositionIsCenter (default = false): Places the compass in the center of the screen.
compassPositionIsRight (default = false): Places the compass on the right side of the screen.
compassHeightOffset (default = 5, minimum 0, maximum 3000): Vertical offset of the compass (Y coordinate). Determines how low on the screen the coordinates and direction should be displayed. Can be changed to prevent interface elements from overlapping.
RGB_R (default = 255, minimum 0, maximum 255): Red color value in RGB for the compass.
RGB_G (default = 255, minimum 0, maximum 255): Green color value in RGB for the compass.
RGB_B (default = 255, minimum 0, maximum 255): Blue color value in RGB for the compass.
Example of the compass in action when the player rotates:

The mod requires the library mod Collective (Fabric) and Fabric API.
This is the page for legacy versions Fabric 1.16 and 1.17. New files and updates have been moved to the main project page. For Forge versions and Fabric 1.18+, go to the main project page.