Refactored to share the new utilities between the MCP and the Chat Bot API

This commit is contained in:
Anon 2026-04-03 19:06:43 +02:00
parent a88ca3cb71
commit dfef24ad10
12 changed files with 2225 additions and 1027 deletions

View file

@ -215,6 +215,11 @@ namespace MinecraftClient.Scripting
this.localVars = localVars;
}
/// <summary>
/// Access the shared MCC gameplay API used by bots and the embedded MCP server.
/// </summary>
new public MccGameApi Game => base.Game;
/* == Wrappers for ChatBot API with public visibility and call limit to one per tick for safety == */
/// <summary>