
π§ Better Compass Better Compass is a lightweight and fully configurable Minecraft mod that adds a modern compass HUD at the top of the screen. It displays the cardinal directions (N β’ E β’ S β’ W) along with the exact facing angle in degrees
π§ Better Compass
Better Compass is a lightweight and fully configurable Minecraft mod that adds a modern compass HUD with directional indicators, coordinates display, biome info, and dimension tracking. It features a complete theming system with multiple pre-designed themes and full server-client configuration management.
β οΈ By default, a compass must be present in the player's inventory for the HUD to work (configurable via server or client settings).
β¨ Features
π Directional Indicators - Shows 8 cardinal directions (N, NE, E, SE, S, SW, W, NW)
π― Facing Angle - Displays exact facing direction in degrees with smooth animation
π Coordinates Display - Real-time X, Y, Z coordinates with customizable position and scale
π Dimension Info - Shows current dimension (Overworld/Nether/End)
πΊοΈ Biome Display - Displays current biome name
π¨ Theme System - 4 pre-built themes (default, compact, colorful, immersive) with full customization
βοΈ Custom Themes - Create unlimited custom themes with 50+ configurable parameters
π§ Hot-Reload - Reload themes without restarting with /bettercompass theme reload
π Full Customization - Configure colors, positions, sizes, and animations via TOML files
π‘ Server Override - Servers can force themes and settings on all connected clients
π§ Compass Requirement - Toggle compass requirement at server or client level
π Lightweight - Optimized for minimal performance impact
π» Multi-Platform - Available for both Forge and Fabric
βοΈ Configuration
The mod uses TOML configuration files for complete customization:
Client Configuration (config/bettercompass/compass.toml):
requireCompass = false
currentTheme = "default"
requireCompass: If true, HUD only appears with a compass in inventorycurrentTheme: Selected theme (default, compact, colorful, immersive, or custom)Server Configuration (server_config.toml):
serverForceTheme = false
serverTheme = "default"
requireCompass = "client"
serverForceTheme: If true, forces all clients to use the specified themeserverTheme: Theme to enforce on all players (ignored if serverForceTheme = false)requireCompass: "client" (player chooses), "true" (required), "false" (optional)π¨ Theme System
Themes are stored in config/bettercompass/themes/ as TOML files. Each theme contains:
Supported Color Formats:
0xAARRGGBB (e.g., 0xFF00FF00 for opaque green)#RRGGBB (e.g., #00FF00)rgb(255, 0, 0)rgba(255, 0, 0, 128)Example Theme (config/bettercompass/themes/custom.toml):
# Better Compass Theme: default
# Classic Better Compass theme
[metadata]
name = "default"
description = "Classic Better Compass theme"
author = "Better Compass"
version = "1.0"
[position]
hudPosition = "top-center"
hudOffsetX = 0
hudOffsetY = 0
[compass]
width = 400
height = 20
spacing = 90
scale = 1.0
[colors]
background = 0x80000000
border = 0xFFFFFFFF
text = 0xFFFFFFFF
direction = 0xFFAAAAAA
north = 0xFFFF0000
east = 0xFFFFFFFF
south = 0xFFFFFFFF
west = 0xFFFFFFFF
playerDirection = 0xFFFFFFFF
coordinates = 0xFFFFFFFF
dimension = 0xFFFFFFFF
biome = 0xFFFFFFFF
[playerDirection]
position = "center"
offsetX = 0
offsetY = 0
[coordinates]
show = true
position = "bottom-center"
offsetX = 0
offsetY = -15
format = "X: %d Y: %d Z: %d"
[dimension]
show = false
position = "below-coordinates"
offsetX = 0
offsetY = 12
[biome]
show = false
position = "below-dimension"
offsetX = 0
offsetY = 12
[appearance]
showBorder = false
borderWidth = 1
borderRadius = 3
showBackground = false
backgroundPadding = 4
textScale = 1.0
textShadow = false
[animation]
smoothRotation = false
rotationSpeed = 0.3
Simply create a new TOML file in config/bettercompass/themes/ with your own theme configuration. The theme will be automatically loaded and available through commands.
All commands support Tab-completion for theme names.
/bettercompass theme list - Display all available themes with the current one marked/bettercompass theme set <name> - Switch to a specific theme (saved to config)/bettercompass theme current - Show the currently active theme and its properties/bettercompass theme reload - Hot-reload all themes from disk (useful for developers)π Server Compatibility
Better Compass features complete server-client integration:
π― Default Themes
π‘ Creating Custom Themes
Simply create a new TOML file in config/bettercompass/themes/ with any name. Themes are automatically loaded and available through commands. The theme system provides 50+ customizable parameters to match any player preference or server aesthetic.
π― Mod Goal
Better Compass enhances navigation with a modern, highly customizable interface while maintaining vanilla-friendly balance. Whether you prefer a subtle compass or a feature-rich HUD, the extensive theme system accommodates every playstyle in both single-player and multiplayer environments.