Radical Cobblemon Trainers - API
为 Cobblemon 提供的训练家管理与战斗 API。
本 API 最初作为 Radical Cobblemon Trainers 模组的基础开发,旨在替代已停止维护的依赖项 CobblemonTrainers,适用于 Minecraft >= 1.21 和 Cobblemon >= 1.6。
但它被设计为一个独立的库,以便让所有人使用其类似功能的一个子集。
主要特性
- 训练家管理与实体关联(训练家注册表)
- 支持不同的对战格式(1v1 单打、1v1 双打、2v2 多打等)
- 自定义对战规则(例如:每场对战最大道具使用次数)
- 扩展 AI 功能(目前仅由
RCTBattleAI支持):- 常规对战活动(招式选择、替换宝可梦等)
- 特殊机制:超级进化、太晶化、Z招式、极巨化等(大多数通过携带道具触发的特殊机制需要其他模组提供支持。Mega Showdown 就是一个例子,并且也是极巨化和超极巨化的必要条件)
- 训练家可以携带并使用道具
- 用于轻松解析的训练家和宝可梦模型(POJOs)
- 可转换为 Cobblemon 类型
- 模型验证(在抛出异常前收集所有错误)
查看 仓库 获取示例。
技术支持
Radical Cobblemon Trainers - API
Trainer management and battle API for Cobblemon.
This API was developed as foundation for the Radical Cobblemon Trainers mod and as replacement for the discontinued dependency CobblemonTrainers for Minecraft >= 1.21 and Cobblemon >= 1.6.
Yet it is designed as independent library to provide a subset of similar features for everyone to use.
Key features
- Trainer management and entity association (trainer registry)
- Support for different battle formats (1v1 SINGLE, 1v1 DOUBLE, 2v2 MULTI, ...)
- Custom battle rules (e.g. max item usages per battle)
- Extended AI features (currently only supported by
RCTBattleAI):- Usual battle activities (move selection, switch, ...)
- Gimmicks: Mega evolve, Dynamax, Z-Moves, Terastallize, etc. (most gimmicks that are activated by held items will require another mod to provide them. Mega Showdown would be an example and is also required for dyna- and gmax)
- Trainers can carry and use items
- Trainer and pokemon models (pojos) for easy parsing
- Converters to Cobblemon types
- Model validation (collects all errors before an exception is thrown)
Check out the repository for an example.
Supported By
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
下载 Radical Cobblemon Trainers API
更新日志
[0.16.2-beta] - 2026-10-12
已更改:
- #136 将 Cobblemon 的最低要求版本提升至
1.8.2
已修复:
- #135 与 Cobblemon
1.8.2中部分物品变更相关的崩溃问题(例如:铁球)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧