mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
1.5 KiB
1.5 KiB
| name | description |
|---|---|
| mcc-development-workflow | Documentation of the typical development workflow for Minecraft Console Client (MCC), including project structure, build commands, and debugging steps. |
MCC Development Workflow
Project Overview
- Repo:
~/Minecraft/Minecraft-Console-Client(env var$MCC_REPO) - Solution:
MinecraftClient.sln(projects:MinecraftClient+ConsoleInteractive) - Build:
dotnet build MinecraftClient.sln -c Release - Servers:
~/Minecraft/Servers/(env var$MCC_SERVERS)
Typical Debug Workflow
~/Minecraft/Servers/start-server.sh 1.20.6-Vanilla(background)- Wait for "Done" in server output
- Build:
dotnet build $MCC_REPO/MinecraftClient.sln -c Release - Run MCC:
cd $MCC_REPO && MCC_FILE_INPUT=1 dotnet run --project MinecraftClient -c Release -- CursorBot - localhost 2>&1 - RCON:
mc-rcon "op CursorBot" - MCC cmd:
echo "inventory player list" >> $MCC_REPO/mcc_input.txt - Read terminal file to see output
- Kill MCC → rebuild → repeat
Timing Reference
| Operation | Typical Duration |
|---|---|
| MCC startup → join server | ~1s |
| FileInput command → response | <500ms |
Official Minecraft Server Source (Decompiled)
$MCC_REPO/MinecraftOfficial/ contains decompiled official server code for protocol reference.
When investigating protocol details (packet structure, field order, NBT format, etc.),
look at the corresponding version's decompiled source as authoritative reference.