Cave mode for minimap

This commit is contained in:
BruceChen 2026-03-31 00:40:26 +08:00
parent 1e35a4c624
commit eae96a8fbc
8 changed files with 379 additions and 21 deletions

View file

@ -1286,6 +1286,9 @@ namespace MinecraftClient
[TomlInlineComment("$Console.Minimap.RefreshInterval$")]
public int RefreshInterval = Tui.MinimapControl.DefaultRefreshMs;
[TomlInlineComment("$Console.Minimap.CaveMode$")]
public Tui.CaveModeOption CaveMode = Tui.CaveModeOption.auto;
public void OnSettingUpdate()
{
Zoom = Math.Clamp(Zoom, Tui.MinimapControl.MinZoom, Tui.MinimapControl.MaxZoom);