ClaudeCraft
一个适用于 Forge 和 NeoForge 的模组,将 Claude AI 引入 CC: Tweaked 电脑与海龟中。
玩家可以通过游戏内的终端与 Claude 互动:提问、运行工具、自动化任务,并使用自然语言控制海龟。
连接模式
两种模式均在游戏中暴露相同的 claude 程序;请根据你的设置选择其中一种:
- API Key 模式 - 使用你自己的密钥直接连接到 Anthropic API。实时流式传输,密钥安全地存储在服务器端。
- Channel 模式(Claude Code) - 通过本地 Claude Code 会话进行连接。无需 API 密钥——它利用你现有的 Claude Code 登录状态,并将完整的 Claude Code 代理带入计算机,每台计算机或海龟拥有独立的会话。
要求
- 带有 Forge 或 NeoForge 的 Minecraft —— 请参阅 Versions 标签页以找到匹配你版本构建的模组
- CC: Tweaked 1.117.1+
- 以下二者之一:
- 用于 API Key 模式的 Anthropic API 密钥,或者
- 在服务器主机上安装的 Claude Code + Bun(用于 Channel 模式)
功能
- 流式响应: 在游戏终端上实时查看 Claude 的输出(API Key 模式)。
- 工具使用: Claude 可以读写文件、执行 shell 命令、控制红石、与外围设备交互以及驾驶海龟。自动兼容任何外围设备模组。
- 按计算机隔离: 在 Channel 模式下,每台计算机和海龟都获得其专属的 Claude Code 会话。
- 对话历史: 按计算机存储持久的聊天历史记录。
- 可配置: 可选择模型、最大令牌数、系统提示词以及并发限制。
游戏内命令
设置你的 Anthropic API 密钥(API Key 模式):
/claudecraft setkey <key>
更改 Claude 模型:
/claudecraft model <model>
显示当前配置:
/claudecraft status
ClaudeCraft
A Forge & NeoForge mod that brings Claude AI into CC: Tweaked computers and turtles.
Players interact with Claude through an in-game terminal: ask questions, run tools, automate tasks, and control turtles using natural language.
Connection Modes
Both modes expose the same claude program in-game; pick whichever fits your setup:
- API Key mode - connect straight to the Anthropic API with your own key. Real-time streaming, key stored safely server-side.
- Channel mode (Claude Code) - connect through a local Claude Code session instead. No API key needed - it rides your existing Claude Code login and brings the full Claude Code agent into the computer, with one isolated session per computer or turtle.
Requirements
- Minecraft with Forge or NeoForge - see the Versions tab for the build matching your version
- CC: Tweaked 1.117.1+
- One of the following:
- An Anthropic API key for API Key mode, or
- Claude Code + Bun installed on the server host (for Channel mode)
Features
- Streaming responses: see Claude's output in real time on the terminal (API Key mode).
- Tool use: Claude can read/write files, run shell commands, control redstone, interact with peripherals, and pilot turtles. Works with any peripheral mod automatically.
- Per-computer isolation: in Channel mode, every computer and turtle gets its own Claude Code session.
- Conversation history: persistent chat history stored per computer.
- Configurable: choose model, max tokens, system prompt, and concurrency limits.
In-Game Commands
Set your Anthropic API key (API Key mode):
/claudecraft setkey <key>
Change the Claude model:
/claudecraft model <model>
Show current configuration:
/claudecraft status
下载 Claudecraft
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Claudecraft
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
下载 Claudecraft
NeoForge 1.21.1 将是未来唯一受支持的版本。
新增:
- 后台任务现在可以在终端中运行。
- 世界共享的图集(atlas)和本地内存存储。
- 物品物流工具,用于在不同容器间移动和查找物品。
- 海龟(turtles)的
build_structure形状支持。 - API 模式下的提示词缓存。
安全:
- 每个通道服务器会话现在拥有独立的身份验证令牌;来自其他计算机的消息被视为不受信任的数据。
- Claude Code 会话仅通过钩子限制为游戏内工具使用,具有可配置的会话上限,并且现在能够可靠地停止。
- 新增操作员命令以控制使用情况。
修复:
- 修剪或中断的对话不再导致后续请求全部失效。
- 修复了各种挂起、截断和断开连接的问题。
- 修复了各种红石和海龟相关的问题。
已切换至 NeoForge
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧