
Cobblemon Trainers 为 Cobblemon 引入了一个训练家对战系统,旨在与可交互的 NPC 模组无缝集成。 这些训练家拥有受第五世代训练家 AI 启发的自定义人工智能,确保战斗既引人入胜又充满挑战。
- 高度自定义训练家队伍,包括招式、个体值(IVs)、努力值(EVs)、特性、等级和性格,提供多样化且具有挑战性的战斗体验。
- 访问服务器上的任何宝可梦,包括来自数据包的宝可梦。
- 高效地将训练家分组,以便在设置界面中进行便捷的导航。
- 定义训练家的胜利指令,实现战后的奖励机制,例如基于经济系统的激励。
命令概览:
- /trainers add <name> [<group>]: 创建一个新的空队伍训练家,并可选择将其分配到特定组别。
- /trainers setup: 打开图形用户界面(GUI)以配置训练家的队伍。
- /trainers setwincommand <trainer> <command>: 指定击败训练家后执行的命令,支持自动替换玩家名称(%player%)。
- /trainers setlosscommand <trainer> <command>: 定义玩家被训练家击败时执行的命令,支持自动替换玩家名称(%player%)。
- /trainers setgroup <trainer> <group>: 在设置 GUI 中按指定名称对训练家进行分组,以便于组织管理。
- /trainers remove <trainer>: 从系统中删除一名训练家。
- /trainers rename <oldName> <newName>: 修改训练家的名称(将在战斗日志中反映)。
- /trainers setcanonlybeatonce <trainer> true/false: 切换该训练家是否只能被击败一次。
- /trainers addpokemon <trainer> <pokemon>: 通过类似 /pokegive 的命令向训练家队伍添加一只宝可梦。
- /trainers addfromparty <trainer> <partySlot>: 将玩家队伍中的宝可梦添加到训练家的队伍中。
- /trainers setcooldownseconds <trainer> <cooldownSeconds>: 设置与该训练家对战的冷却时间。
- /trainers setpartymaximumlevel <trainer> <maxLevel>: 设置玩家队伍参与该训练家对战的最高等级限制。
- /trainers adddefeatrequirement <trainer> <defeatRequirement>: 使给定训练家只有在玩家击败了指定的另一名训练家后才能进行对战。
- /trainers removedefeatrequirement <trainer> <defeatRequirement>: 移除某项击败前置要求。
- /trainers resetwintracker <player> <trainer>: 清除指定玩家此前是否击败过指定训练家的记录。
- /trainers usegen5ai: 将训练家对战 AI 设置为第五世代 AI。
- /trainers usestrongai <level>: 将训练家对战 AI 设置为“强 AI”(目前正为 Cobblemon 官方训练家开发中)。
- /trainers battle [<trainer>]: 与训练家发起对战。省略训练家参数将打开训练家选择菜单。
- /trainers makebattle <player> <trainer> [<trainerEntity>]: 开始玩家与训练家之间的对战。
- /trainers reload: 刷新训练家数据文件;建议谨慎手动编辑。
对于包含空格的名字或命令,请使用单引号。例如:/trainers add 'Ash Ketchum'
若要在字符串中包含单引号,请使用反斜杠转义:'say 'hello'' 变为 say 'hello'
所有命令都需要权限等级 2 或对应的权限节点:
- "selfdot.trainers.reload" - /trainers reload
- "selfdot.trainers.battle" - /trainers battle <trainer>
- "selfdot.trainers.makebattle" - /trainers makebattle <player> <trainer>
- "selfdot.trainers.edit" - 其他所有命令。
配置选项:
- xpEnabled: 控制玩家的宝可梦是否能在与训练家对战中获得经验值。
图形设计由 twsparklecat 提供

Cobblemon Trainers introduces a trainer battle system to Cobblemon, designed to seamlessly integrate with interactable NPC mods.
These trainers feature a custom AI inspired by Generation 5's trainer AI, ensuring engaging and challenging battles.
- Customize trainer teams extensively, including Moves, IVs, EVs, Abilities, Level, and Nature, offering diverse and challenging battles.
- Access any Pokémon available on your server, including those from datapacks.
- Efficiently organize trainers into groups for streamlined navigation within the setup interface.
- Define win commands for trainers, enabling post-battle rewards such as economy-based incentives.
Commands Overview:
- /trainers add <name> [<group>]: Establish a new trainer with an empty team, optionally assigning them to a specific group.
- /trainers setup: Access the GUI to configure trainers' teams.
- /trainers setwincommand <trainer> <command>: Specify the command executed upon defeating a trainer, with automatic player name substitution (%player%).
- /trainers setlosscommand <trainer> <command>: Define the command executed when a player is defeated by a trainer, with automatic player name substitution (%player%).
- /trainers setgroup <trainer> <group>: Group trainers under specified names in the setup GUI for organizational purposes.
- /trainers remove <trainer>: Delete a trainer from the system.
- /trainers rename <oldName> <newName>: Modify a trainer's name (reflects in battle logs).
- /trainers setcanonlybeatonce <trainer> true/false: Toggle whether a trainer can only be defeated once.
- /trainers addpokemon <trainer> <pokemon>: Add a Pokémon to a trainer's team via command similar to /pokegive.
- /trainers addfromparty <trainer> <partySlot>: Add a Pokémon from the player's party to a trainer's team.
- /trainers setcooldownseconds <trainer> <cooldownSeconds>: Set the cooldown duration for battling the trainer.
- /trainers setpartymaximumlevel <trainer> <maxLevel>: Set a maximum level for the player's party to battle a trainer.
- /trainers adddefeatrequirement <trainer> <defeatRequirement>: Makes it so the given trainer cannot be battled unless the player has defeated a certain trainer.
- /trainers removedefeatrequirement <trainer> <defeatRequirement>: Removes a defeat requirement.
- /trainers resetwintracker <player> <trainer>: Clears whether the given player has defeated the given trainer in the past.
- /trainers usegen5ai: Set trainer battle AI to Generation 5 AI.
- /trainers usestrongai <level>: Set trainer battle AI to Strong AI currently under development for official trainers in Cobblemon.
- /trainers battle [<trainer>]: Initiate a battle with a trainer. Omitting the trainer argument will open a trainer select menu.
- /trainers makebattle <player> <trainer> [<trainerEntity>]: Commence a battle between a player and a trainer.
- /trainers reload: Refresh the trainer data file; caution advised for manual edits.
Utilize single quotes for trainer names or commands with spaces. For instance: /trainers add 'Ash Ketchum'
To include single quotes within a string, utilize ': 'say 'hello'' becomes say 'hello'
All commands require permission level 2 or their corresponding permission nodes:
- "selfdot.trainers.reload" - /trainers reload
- "selfdot.trainers.battle" - /trainers battle <trainer>
- "selfdot.trainers.makebattle" - /trainers makebattle <player> <trainer>
- "selfdot.trainers.edit" - All other commands.
Config Options:
- xpEnabled: Controls whether player Pokémon will gain XP from battling trainers.
Graphics by twsparklecat
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
下载 CobblemonTrainers (Discontinued)
- 修复了在使用 Strong AI 时 Forge 崩溃的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
评论 0
登录后参与评分
还没有评论,来抢沙发吧