Skip to content

Compass Locator 3.4.1 Forge

Choose a tag to compare

@kasperoid31 kasperoid31 released this 01 Jul 07:37
9210d04

v3.4.1

◆ Added

  • ➕ Added a configurable separator — the compass.separator symbol and colors.separator color are now read from the language file, so the {sep} divider can be restyled everywhere at once instead of being hard-coded
  • ➕ Added an auto value for the language option — resolveLanguage(...) now follows the JVM/system language (Locale.getDefault().getLanguage()) and falls back to whichever bundled file actually exists
  • ➕ Added death-point persistence — recorded death markers are now written to death-markers.txt and reloaded on startup, so the recovery compass survives a server restart

◆ Changed

  • 🔧 Bumped the mod and all bundled configs to 3.4.1
  • 🔧 Reworked the waypoint-range attributes — WAYPOINT_RECEIVE_RANGE / WAYPOINT_TRANSMIT_RANGE are now driven by a transient AttributeModifier (added/removed by id) instead of overwriting the base value, so the mod no longer clobbers other mods' modifiers or leaves a stale range after the compass is unequipped
  • 🔧 Reworked separator rendering — the filled format is normalized and split on the {sep} token (legacy <sep-color><symbol> is normalized to {sep} first) and re-joined with the configured separator; {time} and {world} are appended as their own {sep}-joined segments
  • 🔧 Config reload from the in-game settings screen is now marshalled back onto the server thread via server.execute(...), so reloadAndRefresh() runs thread-safely

◆ Fixed

  • 🐛 Fixed unreliable death capture — death points are now recorded through LivingDeathEventonPlayerDeath(...) (and immediately saved), instead of being missed when the player respawned
  • 🐛 Fixed coordinate rounding — with coordinate-decimals: 0, formatCoordinate(...) now uses Math.floor(...) so negative coordinates round down correctly instead of truncating toward zero
  • 🐛 Fixed the "dead" recovery option not getting a divider — it now appends the {sep} segment like the other fields
  • 🐛 Fixed a cross-thread crash when reloading the config from the client screen — the refresh no longer touches server state off-thread