介绍
ChatLib – Minecraft AI Chat Library
A Fabric mod library providing AI chat functionality for Minecraft mods. Integrates with local Ollama service to enable intelligent dialogue capabilities.
Features
- Local AI chat integration
- Multi-version compatibility
- Simple API interface
- Asynchronous non-blocking calls
Requirements
- Minecraft 1.20.1+
- Fabric Loader
- Local Ollama service
Quick Start
- Install and start Ollama
- Download model:
ollama pull tinyllama - Place this mod in mods folder
For Developers
AIClient client = new AIClient();
client.sendChatRequest("tinyllama", "Hello")
.thenAccept(response -> {
// Handle AI response
});
License
Apache License 2.0
常见问题
chat lib 支持哪些 Minecraft 版本?
chat lib 支持 Minecraft Java 版 1.20.2–1.21.10,共 16 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
chat lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
zhengzhengyiyi 的其他作品
查看全部 →
lazyboost-render
A client-side optimization mod for Minecraft Fabric, offering weather, entity, sound, and HUD customization for better FPS and gameplay experience.
config-editor-render
a improvement for modmenu, supports modmenu, make you can just edit the configure file like text editor, this mod on join reduces lag
super-pvpbot
A bot (s) which can play pvp with you, you can set roll by /pvp-target , or summon by /pvp-bot
better fight
Give player a better fight, villager can fight to mobs too.
评论
登录后评论和评分