Added a /tab command

This commit is contained in:
Anon 2026-04-04 16:17:49 +02:00
parent a12ba29c45
commit c8286f60c1
12 changed files with 729 additions and 2 deletions

View file

@ -1111,6 +1111,9 @@ namespace MinecraftClient
[TomlPrecedingComment("$Console.Minimap$")]
public MinimapConfig Minimap = new();
[TomlPrecedingComment("$Console.TabList$")]
public TabListConfig TabList = new();
public void OnSettingUpdate()
{
var backend = ConsoleIO.Backend;
@ -1302,6 +1305,13 @@ namespace MinecraftClient
Tui.MinimapControl.MinRefreshMs, Tui.MinimapControl.MaxRefreshMs);
}
}
[TomlDoNotInlineObject]
public class TabListConfig
{
[TomlInlineComment("$Console.TabList.ShowTeams$")]
public bool ShowTeams = false;
}
}
}