Better Compass Azimut

🧭 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

311

Better Compass Azimut

🧭 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

📍 Multi-Platform - Shows 8 cardinal directions (N, NE, E, SE, S, SW, W, NW) 🎯 Multi-Platform - Displays exact facing direction in degrees with smooth animation 📐 Multi-Platform - Real-time X, Y, Z coordinates with customizable position and scale 🌍 Multi-Platform - Shows current dimension (Overworld/Nether/End) 🗺️ Multi-Platform - Displays current biome name 🎨 Multi-Platform - 4 pre-built themes (default, compact, colorful, immersive) with full customization ⚙️ Multi-Platform - Create unlimited custom themes with 50+ configurable parameters 🔧 Multi-Platform - Reload themes without restarting with `/bettercompass theme reload` 🌐 Multi-Platform - Configure colors, positions, sizes, and animations via TOML files 📡 Multi-Platform - Servers can force themes and settings on all connected clients 🧭 Multi-Platform - Toggle compass requirement at server or client level 🚀 Multi-Platform - 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 inventory * `currentTheme`: 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 theme * `serverTheme`: 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:

* Metadata: Primary, secondary, background, text, border (ARGB format) * Metadata: Compass size, text scale, padding, border width * Metadata: X, Y coordinates for each HUD element * Metadata: Position, scale, and visibility * Metadata: Position, scale, and visibility * Metadata: Position, scale, and visibility * Metadata: Smooth rotation speed and other effects * Metadata: Theme name, author, and description

Supported Color Formats:

* ARGB: `0xAARRGGBB` (e.g., `0xFF00FF00` for opaque green) * Hex: `#RRGGBB` (e.g., `#00FF00`) * RGB: `rgb(255, 0, 0)` * RGBA: `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:

* Flexibility: Works seamlessly in single-player * Flexibility: Administrators can enforce themes and settings across all players * Flexibility: Configuration changes sync immediately when players join * Flexibility: Server theme forcing takes priority over client preferences * Flexibility: Individual settings can be left to client choice or forced server-wide

🎯 Default Themes

1. immersive - Balanced, clean design suitable for most playstyles 2. immersive - Optimized for smaller screens and minimal HUD footprint 3. immersive - Vibrant colors for better visibility and visual appeal 4. immersive - Subtle and elegant design for atmosphere preservation

💡 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.

ADS