注意:版本 0.1.0(旧的仅 Gemini Alpha 版)已过时。请使用下方的最新 1.0.x 文件。此版本仅保留用于历史参考。
Ask Mod
在 Minecraft 聊天界面中调用 AI 模型。仅限客户端,因此无需服务端模组。请自备 API 密钥。
由 Eren Ekşi 制作。
命令
-
/ask <问题>:向 AI 提问。添加--screen可附带截图,或添加--model provider:model为单次提问指定模型。 -
/askscreen <问题>:等同于/ask --screen。 -
/askmodel [provider:model]:显示或更改你的默认模型。支持 Tab 补全。 -
/askproviders:列出所有提供商,并显示哪些已设置密钥、哪些支持截图。 -
/askclear:忘记对话并重新开始。 -
/askconfig:在游戏中打开设置。
按键绑定:按 K 打开设置,按 J 开始截图问答。两者均可在「控制」中更改。
AI 提供商
OpenAI、Anthropic、Google Gemini、Ollama(在本地 PC 上运行,无需密钥)、OpenRouter、Groq、Mistral、xAI Grok、DeepSeek、Azure OpenAI,或任何兼容 OpenAI 的服务器。
将你的密钥放入 /askconfig 或 config/askmod.json。密钥仅保留在你的电脑上,且永远不会被记录。
截图
仅在你使用 --screen 参数时才会发送截图。发送前会先缩小并压缩图片。如果模型未经过图像验证,请求将被拒绝,除非你在设置中允许该操作。
版本
请选择适合你的 Minecraft 版本和加载器的文件:
- Fabric: 1.20.1, 1.21, 1.21.1, 1.21.4, 1.21.8(需要 Fabric API)
- Forge: 1.20.1(需要 Forge 47)
- NeoForge: 1.21, 1.21.1, 1.21.4, 1.21.8
所有文件均需要 Cloth Config。在 Fabric 上 ModMenu 是可选的,它会在模组列表中增加一个配置按钮。
1.20.1 的文件需要 Java 17。其余版本需要 Java 21。
隐私与数据使用
本模组不包含任何分析功能,也不进行数据追踪。当你提问时,你的问题会被发送到你选择的 AI 提供商以获取回答。如果你使用了 --screen 参数,截图会随问题一同发送。如果启用了游戏上下文功能,将添加基本信息:玩家名称、单人或多人模式、维度、坐标、生物群系以及 FPS。你的 API 密钥仅用于向提供商登录验证。除此之外,没有任何其他数据离开你的电脑。
Note: Version 0.1.0 (the old Gemini-only alpha) is obsolete. Please use the latest 1.0.x file below. It is kept listed for historical reference only.
Ask Mod
Ask AI models from inside Minecraft chat. Client side only, so no server mod is needed. Bring your own API key.
By Eren Ekşi.
Commands
/ask <question>: ask the AI. Add--screento attach a screenshot, or--model provider:modelto pick a model for one question./askscreen <question>: same as/ask --screen./askmodel [provider:model]: show or change your default model. Tab completion included./askproviders: list providers, show which ones have a key set and which support screenshots./askclear: forget the conversation and start fresh./askconfig: open settings in game.
Keybinds: K opens settings, J starts a screenshot question. Both can be changed in Controls.
AI providers
OpenAI, Anthropic, Google Gemini, Ollama (runs on your own PC, no key needed), OpenRouter, Groq, Mistral, xAI Grok, DeepSeek, Azure OpenAI, or any OpenAI compatible server.
Put your keys in /askconfig or config/askmod.json. Keys stay on your PC and are never logged.
Screenshots
Screenshots are only sent when you use --screen. They are shrunk and compressed before sending. If a model is not verified for images, the request is refused unless you allow it in settings.
Versions
Pick the file for your Minecraft version and loader:
- Fabric: 1.20.1, 1.21, 1.21.1, 1.21.4, 1.21.8 (needs Fabric API)
- Forge: 1.20.1 (needs Forge 47)
- NeoForge: 1.21, 1.21.1, 1.21.4, 1.21.8
All files need Cloth Config. ModMenu is optional on Fabric and adds a config button to the mod list.
The 1.20.1 files need Java 17. The rest need Java 21.
Privacy and data use
This mod has no analytics and no tracking. When you ask something, your question is sent to the AI provider you chose so it can answer. If you used --screen, the screenshot is sent with it. If game context is turned on, basic info is added: player name, singleplayer or multiplayer, dimension, position, biome, and FPS. Your API keys are only ever sent to the provider to log you in. Nothing else leaves your computer.
下载 Ask Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ask Mod
下载 Ask Mod
下载 Ask Mod
下载 Ask Mod
下载 Ask Mod
下载 Ask Mod
下载 Ask Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ask Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ask Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Ask Mod 1.0.0 for 1.21.8 (NeoForge)
与之前的 1.0.0 构建功能相同,已适配 1.21.8 的变更:
- 截图捕获使用新的异步 GPU 回读
- 点击复制聊天行使用新的文本事件记录
基于 Minecraft 1.21.8(NeoForge 21.8)构建。需要 Cloth Config。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧