Minecraft-Console-Client/MinecraftClient
copilot-swe-agent[bot] 2ae31e269f Convert switch statements to expressions and adopt collection expressions
- DirectionExtensions.cs: Convert GetOpposite() to switch expression,
  use file-scoped namespace, use collection expression for HORIZONTAL
- McClient.cs: Convert InteractType switch to expression, use collection
  expressions for array literals
- Protocol18.cs: Replace Array.Empty<byte>() with [], use collection
  expressions for byte/int array literals
- DataTypes.cs: Use collection expression for TAG_End byte array
- ChatBot.cs: Use collection expressions for string/char arrays
- Location.cs: Use collection expressions and modernize null check

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/milutinke/Minecraft-Console-Client/sessions/4e9bd25b-22c5-47c2-98f9-6025d927b1d6
2026-03-24 00:34:00 +00:00
..
ChatBots Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
CommandHandler [skip ci] Miscellaneous scripting QoL improvements and fixes (#2740) 2024-06-22 06:40:23 +08:00
Commands Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
config Modernize lock object declarations from object to System.Threading.Lock 2026-03-24 00:15:21 +00:00
Crypto Trim 2023-01-14 21:07:09 +08:00
Inventory Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
Logger Modernize lock object declarations from object to System.Threading.Lock 2026-03-24 00:15:21 +00:00
Mapping Convert switch statements to expressions and adopt collection expressions 2026-03-24 00:34:00 +00:00
Physics fix: correct global state indexing in block shape processing 2026-03-22 16:34:12 +08:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol Convert switch statements to expressions and adopt collection expressions 2026-03-24 00:34:00 +00:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources Add Discord RPC setup tutorial, Discord Bridge AllowOtherBotMessages config, and enhance integration tests 2026-03-23 00:41:40 +00:00
Scripting Convert switch statements to expressions and adopt collection expressions 2026-03-24 00:34:00 +00: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
ColorHelper.cs legacy color support 2022-12-14 14:45:51 +08:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs Remove color code from text 2022-11-30 16:08:55 +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 Convert switch statements to expressions and adopt collection expressions 2026-03-24 00:34:00 +00:00
MinecraftClient.csproj Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
Program.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
Settings.cs Modernize lock object declarations from object to System.Threading.Lock 2026-03-24 00:15:21 +00: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