Minecraft-Console-Client/MinecraftClient/Scripting
Andy aa1b6f968e
Add DataPath.cs and revert CSharpRunner.cs changes
# Submission Instructions

## Content of this submission

### 1.  Synchronize official CSharpRunner.cs
- Synchronize `CSharpRunner.cs` to the latest official version
- **Removed** extended support for non-standard metadata formats (XML, C# style, JS style)
- Restore to the official standard metadata parsing method

### 2.  Migrate DataPath.cs
- Migrate `DataPath.cs` to the new version of the code repository
- Maintain the original functionality unchanged:
  - `DataPath.Init("ScriptName")` - create a configuration folder
  - `DataPath.Get()` - Gets the path of the configuration folder

## Reason for change
1. **Facilitate official merging**: Retaining custom metadata formats increases the risk of conflicts with the official codebase. Removing them allows for smoother acceptance of official updates
2. **Reduce maintenance costs**: The official CSharpRunner.cs undergoes frequent changes, making the maintenance of custom branches a significant workload
3. **Maintain consistency**: Keep consistent with the official version to avoid compatibility issues caused by format differences

## Scope of impact
- Previously supported non-standard metadata formats (XML, C# style, JS style) will no longer be recognized
- Only supports official standard metadata formats
- The functionality of DataPath.cs remains unaffected, and the configuration management function is still operational and available

## Remarks
- DataPath.cs and CSharpRunner.cs have previously been modified, and this time it is only for migration and synchronization purposes
- AI-assisted participation was involved in the previous modification process
2026-06-19 13:18:04 +08:00
..
DynamicRun/Builder Fixed Script Scheduler bug 2026-06-06 12:09:36 +02:00
AssemblyResolver.cs Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
BotMovementLock.cs Added slab handling for 1.20/.1 2023-06-23 16:25:18 +02:00
ChatBot.cs Fixed Script Scheduler bug 2026-06-06 12:09:36 +02:00
CSharpRunner.cs Tidy script diagnostic helpers 2026-06-13 21:49:12 +00:00
DataPath.cs Add DataPath.cs and revert CSharpRunner.cs changes 2026-06-19 13:18:04 +08:00
MccGameApi.cs Fix warnings 2026-04-06 20:36:12 +08:00
MccGameCommon.cs Refactored to share the new utilities between the MCP and the Chat Bot API 2026-04-03 19:06:43 +02:00
MccGameModels.cs Refactored to share the new utilities between the MCP and the Chat Bot API 2026-04-03 19:06:43 +02:00
MccGameResult.cs Refactored to share the new utilities between the MCP and the Chat Bot API 2026-04-03 19:06:43 +02:00
MccObservedState.cs Refactored to share the new utilities between the MCP and the Chat Bot API 2026-04-03 19:06:43 +02:00