feat: add autodig tool switching

Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/e83f9c2a-a85c-4763-821b-c5b4a0db75a6

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-31 08:44:23 +00:00
parent 65dec59687
commit 1a86655dfb
4 changed files with 173 additions and 3 deletions

View file

@ -437,6 +437,15 @@ namespace MinecraftClient {
}
}
/// <summary>
/// Looks up a localized string similar to Dropped low durability {0} from slot {1}..
/// </summary>
internal static string bot_autodig_drop_low_durability {
get {
return ResourceManager.GetString("bot.autodig.drop_low_durability", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The block currently pointed to is not in the allowed list..
/// </summary>
@ -473,6 +482,15 @@ namespace MinecraftClient {
}
}
/// <summary>
/// Looks up a localized string similar to Switch to {1} from slot {0}..
/// </summary>
internal static string bot_autodig_switch {
get {
return ResourceManager.GetString("bot.autodig.switch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Added item {0}.
/// </summary>

View file

@ -243,6 +243,9 @@
<data name="bot.autodig.no_inv_handle" xml:space="preserve">
<value>Inventory handling is not enabled. Unable to switch tools automatically.</value>
</data>
<data name="bot.autodig.drop_low_durability" xml:space="preserve">
<value>Dropped low durability {0} from slot {1}.</value>
</data>
<data name="bot.autodig.start" xml:space="preserve">
<value>Automatic digging has started.</value>
</data>
@ -252,6 +255,9 @@
<data name="bot.autodig.stop" xml:space="preserve">
<value>Auto-digging has been stopped.</value>
</data>
<data name="bot.autodig.switch" xml:space="preserve">
<value>Switch to {1} from slot {0}.</value>
</data>
<data name="bot.autoDrop.added" xml:space="preserve">
<value>Added item {0}</value>
</data>