Minecraft-Console-Client/MinecraftClient
copilot-swe-agent[bot] 22455905a7 Add automatic mining-speed and dig-duration handling
- Add BlockHardness.cs with hardness data for all 1053 blocks from MC 1.21.11
- Add MiningCalculator.cs with version-aware dig duration computation
  - Tool speed from ToolComponent (1.20.6+) or legacy hardcoded tables
  - Efficiency enchantment (legacy: level^2+1, 1.21.11+: mining_efficiency attribute)
  - Haste/Conduit Power/Mining Fatigue effects
  - BLOCK_BREAK_SPEED attribute (1.20.6+)
  - MINING_EFFICIENCY and SUBMERGED_MINING_SPEED attributes (1.21.11+)
  - Underwater penalty with Aqua Affinity support (legacy) or attribute (modern)
  - Airborne penalty
  - Correct tool for drops check (30 vs 100 divisor)
- Modify McClient.DigBlock to auto-compute duration for survival/adventure mode
- Cache player attributes from OnEntityProperties in McClient
- Expose duration parameter in ChatBot.cs scripting wrapper
- Add /downloads/ to .gitignore

Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/579df446-a335-4174-9a8b-4d66173c82b1

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
2026-03-30 08:24:00 +00:00
..
ChatBots Add message aggregation and relay options for DiscordBridge 2026-03-29 19:53:50 +08:00
CommandHandler Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Commands fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
config Fixed session if changing in the Web Socket Chat bot. 2026-03-25 21:59:01 +01:00
Crypto refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Inventory Enhance container handling for Minecraft protocol updates 2026-03-28 02:17:47 +08:00
Logger refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Mapping Add automatic mining-speed and dig-duration handling 2026-03-30 08:24:00 +00:00
Physics TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol feat: Implemented the Recipe Book into MCC 2026-03-29 21:05:38 +02:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources feat: Implemented the Recipe Book into MCC 2026-03-29 21:05:38 +02:00
Scripting Add automatic mining-speed and dig-duration handling 2026-03-30 08:24:00 +00:00
Tui Enhance server status display and player information handling 2026-03-30 02:46:34 +08:00
WinAPI Bug fix 2022-10-10 10:56:12 +08:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ClassicConsoleBackend.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
ColorHelper.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Refactor ConsoleIO and Program settings handling 2026-03-29 00:54:34 +08:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
IConsoleBackend.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Fix ParseJson crash on non-JSON plain-text input (e.g. vanilla MOTD) 2026-03-22 19:53:15 +01:00
McClient.cs Add automatic mining-speed and dig-duration handling 2026-03-30 08:24:00 +00:00
MinecraftClient.csproj Minimap support 2026-03-29 19:53:50 +08:00
Program.cs Handle TUI startup failures with classic fallback 2026-03-29 01:57:21 +08:00
RecipeBookRecipeEntry.cs fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
Settings.cs Minimap support 2026-03-29 19:53:50 +08:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
UpgradeHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00