将真实的宝可梦训练家加入你的 Cobblemon 世界——每个训练家仅由一个 JSON 文件定义。
兼容 · Minecraft 1.21.1 · Fabric - Neoforge · Cobblemon 1.8.1 · Java 21 · 客户端和服务器均需安装
它有何不同
训练家永远不会自然生成。 这是初始设定,且无法通过任何设置撤销:世界不会到处散落着站在无人涉足的生物群系中的训练家。训练家的存在完全是因为有人希望他们在那里——无论是管理员还是玩家本人。
在管理员方面,有两种方式填充世界:
/cobblemontrainers spawn 会在此处立即生成一个训练家,可用于测试或活动;
- 训练家生成器方块 提供了一项功能。它不可见,能记住要召唤哪个训练家,并在其消失时将其重新召唤回来——无论是被击杀、走散,还是因区块卸载而离开。这正是让冠军坚守道馆的机制。
由于配置好的方块在结构内部随其设置一同移动,只需将一个这样的方块放入已保存的建筑中,即可确保每一个生成的副本都自带专属的训练家。一座训练家村只需建造一次。
从玩家的角度来看,与训练家的互动与此完全不同:一切操作都通过 对战手机(Battle Phone) 进行,这是一个物品,而非指令。它作为配套模组 Cobblemon BattlePhone 的一部分发布,并基于本模组构建:请同时安装这两个模组。
打开战斗电话,从列表中挑选一名训练师并呼叫他们。但训练师只会在他们指定的地点出现:在夜晚的恶地、雷暴中、某个结构上,或是末地。他们的页面会显示该地点,呼叫按钮就紧挨着它;如果你不在那里,拒绝提示会明确指出缺少了什么条件。找到训练师意味着需要阅读他们的页面并前往正确的地点——而在你行动之前,世界将保持空旷。
你将获得
- 真实的训练家对战 - 右键点击,支持单挑、双打或三打,配有战斗音乐,并为需要此功能的训练家提供黑白风格的对战画面。
- 应召而来的训练家 - 通过战斗手机,从他们声明所在的地方将他们召唤过来。
- 固定位置的训练家 - 一个不可见的方块将训练家牢牢固定在原地。
- 直接粘贴的 showdown 队伍 - 复制导出内容,粘贴即可,大功告成。
- 你喜欢的任何皮肤 - 使用 Minecraft 账号的皮肤,或者使用你自己的 PNG 图片。
- 盔甲、精灵球、超级手环 - 训练家穿戴其数据包所规定的装备,包括关键道具,分布在身体的七个部位:面部、胸部、手腕、前臂、手部、腰带和脚踝。
- 奖励 - 胜利后获得物品,可选择每次胜利都给予或仅首次胜利时给予。
- 游戏内进度追踪 - 通过战斗手机,每位玩家拥有一块记录板。
- 联盟而不仅是训练家 - 包含类别、锁定机制和晋升系统。
- 可调节的人工智能难度 - 多个难度级别,每个训练家的难度由你自行设定。
- 地区形态与虚构宝可梦(Fakemon) - 支持任何 Cobblemon 形态,包括其他数据包添加的形态。
- 文本可翻译 - 名称和对话均支持每位玩家自己的语言。
- 箱中有八位训练家 - 准备好战斗,各自拥有独立的标签页。
详细说明
真实的训练家对战。 右键点击一名训练家,即可进行一场真正的 Cobblemon 对战,支持单挑、双打或三打,可选地将双方队伍等级提升至 50。战斗音乐会在所有背景音之上播放,并在战斗以任何方式结束时停止。战斗开始时显示的是你选定的宝可梦,而不是你的第一个出场槽位。
应召而来的训练家。 为训练家指定一个位置——某个生物群系、某个结构、某个区域、某个时间段或某种天气——一旦玩家站在该位置,就可以通过战斗手机将其召唤过来。如果不指定位置,他们将等待管理员放置在哪里就待在哪里。
固定位置的训练家。 一个不可见的生成器方块将训练家固定在原位:杀死它会重生,强行将其移走它也会返回。通过右键点击进行配置,其设置会保存在结构中——因此生成的每座建筑副本都会自带其专属的训练家。
直接粘贴的 showdown 队伍。 直接从 Pokémon Showdown 复制导出内容:物品、特性、性格、努力值/个体值、招式、闪光状态、昵称。未知的行会被忽略,因此可以直接使用。地区形态和虚构宝可梦通过 Aspects: 行处理,语法与 /pokespawn 相同。
你喜欢的任何皮肤。 可以通过用户名或 UUID 借用 Minecraft 账号的皮肤,也可以在数据包中打包你自己的 PNG 图片。自定义纹理由服务器发送,因此即使其他玩家没有安装你的数据包,也能看到这些自定义外观。
奖励,以及一次性首领。 在胜利后发放物品——可以选择每次胜利都发放,或者按奖励设定仅在首次获胜时发放。某些奖励可以保持隐藏状态,直到被击败后才解锁。可以将冠军设置为每位玩家仅有一次遭遇机会,通过设置 "rematch": "never" 实现。
这就是奖励的意义所在:一场可以重赛的训练家对战是一种刷取资源的方式,而数据包决定了具体哪种方式。每场胜利都掉落树果的训练家,就像一座你亲自游玩而非等待收获的种植园;另一个可能掉落矿石、一种你无法通过其他途径获得的资源,或是推进度的一环。该模组本身并不提供这些循环机制——它只提供挂钩接口,其余部分由数据包来完成。
游戏内进度追踪。 战斗手机物品为每位玩家提供专属面板:每个数据包一个标签页,每个分类一个标题,每位训练家的头像、他们尚未给予你的奖励,以及你是否已击败他们的状态。击败某位训练家后,其完整队伍(包括模型、形态和闪光个体)将全部解锁。操作员可通过 /cobblemontrainers list 命令获得相同信息。进度与世界数据一同保存,并能在执行 /reload 或重启后保留。
不仅是训练家,还有联盟体系。 使用文件夹将训练家按类别分组,并将某一组锁定在另一组之后——例如需要获得徽章、达成成就或取得八场胜利——并且可将普通的 Minecraft 成就与任意一场胜利挂钩。
可调节的 AI。 每位训练家设定自己的难度,从新手对手到以胜利为目标的冠军。它独立于宝可梦等级,因此低等级的训练家也能带来真正的挑战。
支持翻译的文本。 训练家名称和对话接受翻译键,因此每位玩家都能以自己的语言阅读——包括悬浮的名称牌。
盒中有八位训练家。 模组自带一组训练家,拥有独立的选项卡:80 级的标志性训练家,每位对应一个生物群系的召唤;以及一位被锁定、仅在末地才会应召的 100 级训练家。
命令
/cobblemontrainers spawn <id> [<x> <y> <z>]
/cobblemontrainers list [<player>]
/cobblemontrainers defeat <id|all> [<players>] [reset]
/cobblemontrainers debugai
每个动词的详细说明见
命令页面。
所有命令均需 2 级权限(操作员)。自动补全会列出其完整 <pack>:<trainer> ID 下的所有已加载训练家,并搜索两部分内容——输入 jac 即可找到
my_pack:jacinthe。
对战手机
/cobblemontrainers list 是给操作员使用的。对战手机 是为其他所有人提供的相同界面,现在它已成为一个独立的模组:Cobblemon BattlePhone,基于 Cobblemon Trainers 构建。右键点击它,世界中列出的所有训练家都会出现,每个数据包一个选项卡,显示他们的状态、奖励,以及——在被击败后——他们的队伍。
手机保留了它们在此模组中的 ID(cobblemon-trainers:battle_phone 及其颜色),因此已有世界的玩家在安装 Cobblemon BattlePhone 后会再次找到它们。
如何制作自己的训练家包
最简单的方法是使用 在线编辑器:
表单中包含训练家的每个字段及其旁边的文档,带有场景实时预览的对战屏幕,你自己的战斗音乐和直接放入包中的训练家皮肤,你的文本翻译,以及整个内容下载为 .zip 格式,可直接放入 mods/ —— sounds.json 和语言文件均由系统为你生成。它在你的浏览器中完全运行——无需账户,不会上传任何内容。
你可以在 数据包文档 中查看所有细节。
超级进化、Z招式、极巨化与太晶化
当你允许时,训练家会使用战斗 gimmick,通过其 battle 块中的 "gimmicks" 列表:"mega"、"zmove"、"max" 和 "terastal"。
太晶化 只需要 Cobblemon。给宝可梦添加 Tera Type: 行,加上 "gimmicks": ["terastal"],训练家就会保留其唯一的一次使用机会,直到它决定何时发动:直到它即将使用的招式变得致命,或者直到本会被击败的攻击因其太晶属性而不再致命。Z招式和极巨化 的判断方式相同,基于类似的时刻——原本不存在的击倒,或原本不会失去的一回合。
超级进化 则相反——它不消耗回合,因此在第一次机会出现时就会发动。将超级石交给宝可梦并添加 "gimmicks": ["mega"]。
这三项需要 Cobblemon: Mega Showdown,但它保持可选:没有它,模组仍能正常加载和运行,队伍可以指定 Fallback Item:,让宝可梦持有合理的物品,而不是无法获得的石头或水晶。
完整指南:GIMMICKS DOCS
已知限制
- 形态通过其特性声明(
Aspects: alolan),而非 Showdown 名称后缀(Raichu-Alola)——后缀无法与名称中包含连字符的物种区分开来(如 Ho-Oh、Porygon-Z)。
player_username 和 player_uuid 皮肤从 Mojang API 获取,因此需要网络访问和现有账户。如果失败,训练家将保留默认皮肤,原因会记录在日志中。texture 类型仅需包内的一张图片即可。
- 战斗音乐仅对安装了该模组的玩家播放:客户端是运行它的地方,也是让它循环并保持游戏内置音乐在战斗结束前等待的地方。
致谢
由 Mathéo (matheo-1712) 开发。
使用条款
- 整合包:允许。 你可以自由地将此模组包含在任何整合包中,无论公开还是私有,免费还是付费。无需许可,无需通知。
- 服务器:允许。 在你喜欢的任何服务器上运行它。
- 数据包:允许。 你使用此模组制作的训练家包属于你——以任何你想要的方式分发它们。
- 重新上传:禁止。 请勿在 Modrinth、CurseForge 或其他任何分发站点、镜像或广告包裹的下载页面上重新发布此模组。请链接到
此页面——这样每个人都能获得真实文件、正确版本以及相应的更新日志。
链接
可玩的训练家包
Cobblemon : Mega Trainers → 一个 Cobblemon Trainers 数据包,收录了来自 Cobblemon: Mega Showdown 的每位超级进化训练家,由 matheo-1712 制作
此处将列出基于此模组制作的包,让你无需编写任何内容即可获得可供对战的训练家。制作了想要列出的包?请在 GitHub 上打开一个包含链接的 Issue。
发现 bug 或加载器无法加载?在 GitHub 上提交 issue,附上你的 JSON 文件和服务器日志——模组会指出它在哪个文件上卡住了。
Add real Pokémon trainers to your Cobblemon world - each one a single JSON file.
Compatible with · Minecraft 1.21.1 · Fabric - Neoforge · Cobblemon 1.8.1 · Java 21 · needed on client and server
What makes it different
No trainer ever spawns on its own. That is the starting decision, and there is no setting
to undo it: a world does not end up littered with trainers standing around in biomes nobody
crosses. A trainer is only ever there because somebody wanted them there - an admin, or the
player themselves.
On the admin side, two ways to populate a world:
/cobblemontrainers spawn puts a trainer down here and now, for a test or an event;
- the trainer spawner block gives one a post. It is invisible, remembers which trainer to
summon, and puts them back whenever they are missing - killed, wandered off, or gone with an
unloaded chunk. That is what keeps a champion in their gym.
And because a configured block travels inside a structure with its settings, dropping one
into a saved building is enough for every generated copy to come with its own trainer already
in place. A village of trainers is built once.
On the player side, meeting a trainer works nothing like that: it all goes through the
Battle Phone, an item, not a command. It ships in a companion mod, Cobblemon
BattlePhone, built on this one: install both.
Open the Battle Phone, pick a trainer from the list, call them. But a trainer only comes
where they said they would be: in the badlands at night, in a thunderstorm, on a structure,
in the End. Their page shows that place, the Call button sits right next to it, and if you
are not there the refusal names exactly what is missing. Finding a trainer means reading their
page and travelling to the right spot - and the world stays empty until you do.
What you get
- Real trainer battles - right-click, singles, doubles or triples, with battle music, and
a Black-and-White style versus screen for the trainers that ask for one.
- Trainers who come when called - from the Battle Phone, wherever they said they would be.
- Trainers that stay put - an invisible block holds one in place for good.
- Showdown teams, pasted in - copy an export, paste it, done.
- Any skin you like - a Minecraft account's, or your own PNG.
- Armour, a Poké Ball, a Mega Bracelet - a trainer wears what its pack says, key items
included, at seven places on the body: face, chest, wrist, forearm, hand, belt and ankle.
- Rewards - items on victory, once or every time.
- Progress tracking in game - the Battle Phone, one board per player.
- Leagues, not just trainers - categories, locks, advancements.
- Adjustable AI - several difficulty levels, up to you per trainer.
- Regional forms and fakemon - any Cobblemon form, including ones other packs add.
- Translatable text - names and dialogue in every player's own language.
- Eight trainers in the box - ready to fight, in their own tab.
In detail
Real trainer battles. Right-click a trainer and you get a proper Cobblemon battle, in
singles, doubles or triples, optionally with both teams brought to level 50. Battle music plays
over everything else and stops however the battle ends. The battle opens on the Pokémon you
have selected, not on your first slot.
Trainers who come when called. Give a trainer a place - a biome, a structure, an area, a
time, a weather - and any player can call them over from the Battle Phone once they are
standing in it. Give them none and they wait wherever an admin put them.
Trainers that stay where you put them. An invisible spawner block holds one trainer in
place: kill it and it comes back, walk it away and it returns. Configure it by right-clicking,
and it keeps its settings inside a structure - so every generated copy of a building arrives
with its own trainer.
Showdown teams, pasted in. Copy an export straight from Pokémon Showdown: items,
abilities, natures, EVs/IVs, moves, shininess, nicknames. Unknown lines are ignored, so it just
works. Regional forms and fakemon go through an Aspects: line, the same syntax as
/pokespawn.
Any skin you like. Borrow a Minecraft account's skin by username or UUID, or ship your own
PNG in the pack. Custom textures are sent by the server, so every player sees them even without
your pack.
Rewards, and one-time bosses. Hand out items on victory - every time, or only on the first
win, reward by reward. A reward can be kept secret until it is won. Make a champion a single
encounter per player with "rematch": "never".
That is what rewards are for: a rematchable trainer is a way to farm, and the datapack
decides which one. A trainer paying out berries on every win is a plantation you play instead
of wait for; another can pay out an ore, a resource you get no other way, or a step in a
progression. The mod ships none of those loops - it ships the hook, and packs will do the
rest.
Progress tracking, in game. The Battle Phone item gives every player their own board: one
tab per pack, a heading per category, each trainer's skin, what they still owe you, and whether
you have beaten them. Beat one and their full team opens up, models, forms and shinies
included. Operators get the same from /cobblemontrainers list. Progress is saved with the
world and survives /reload and restarts.
Leagues, not just trainers. Sort trainers into categories with folders, lock one behind
another - a badge, an advancement, eight victories - and hang ordinary Minecraft advancements
off any win.
Adjustable AI. Each trainer sets its own difficulty, from a first opponent to a champion
who plays to win. It is independent from the Pokémon's level, so a low-level trainer can still
be a real fight.
Translatable text. Trainer names and dialogue accept translation keys, so every player
reads them in their own language - floating nameplate included.
Eight trainers in the box. The mod ships its own, in their own tab: iconic trainers at
level 80, each answering a call from one biome, and a level 100 one locked behind them that
only answers in the End.
Commands
/cobblemontrainers spawn <id> [<x> <y> <z>]
/cobblemontrainers list [<player>]
/cobblemontrainers defeat <id|all> [<players>] [reset]
/cobblemontrainers debugai
Every verb is detailed in
the commands page.
They all require permission level 2 (operator). Autocomplete lists every loaded trainer under
its full <pack>:<trainer> ID, and searches both halves - typing jac finds
my_pack:jacinthe.
The Battle Phone
/cobblemontrainers list is for operators. The Battle Phone is the same board for everyone
else, and it is now a mod of its own: Cobblemon BattlePhone, built on Cobblemon Trainers.
Right-click it and every listed trainer of the world is there, one tab per datapack, with
their state, their rewards, and - once beaten - their team.
The phones keep the IDs they had in this mod (cobblemon-trainers:battle_phone and its
colours), so a world that already has some finds them again as soon as Cobblemon BattlePhone
is installed.
How to make my own trainer pack
The easiest way is the online editor:
every field of a trainer in a form with its documentation beside it, the versus screen with a
live preview of the scene, your own battle music and trainer skins dropped straight into the
pack, your texts translated, and the whole thing downloaded as a .zip ready for mods/ -
sounds.json and language files written for you. It runs entirely in your browser - no account,
nothing uploaded.
You can see all details in DATAPACK DOCS
Mega Evolution, Z-Moves, Dynamax and Terastallization
Trainers use battle gimmicks when you let them, through the "gimmicks" list in their battle
block: "mega", "zmove", "max" and "terastal".
Terastallization needs nothing but Cobblemon. Give a Pokémon a Tera Type: line, add
"gimmicks": ["terastal"], and the trainer holds its one use back until it decides something:
until the move it was about to play turns lethal, or until the hit that would knock it out stops
being lethal against its Tera type. Z-Moves and Dynamax are judged the same way, on the same
kind of moment - a knockout that was not there, or a turn that was lost.
Mega Evolution is the opposite - it costs no turn, so it goes out at the first opportunity.
Hand a Pokémon its Mega Stone and add "gimmicks": ["mega"].
Those three need Cobblemon: Mega Showdown, which stays
optional: without it the mod loads and plays exactly as before, and a team can name a
Fallback Item: so its Pokémon holds something sensible instead of the stone or crystal it
cannot have.
Full guide: GIMMICKS DOCS
Known limitations
- Forms are declared through their aspects (
Aspects: alolan), not the Showdown name
suffix (Raichu-Alola) - a suffix can't be told apart from species whose name contains a
hyphen (Ho-Oh, Porygon-Z).
player_username and player_uuid skins are fetched from the Mojang API, so they need
network access and an existing account. On failure the trainer keeps the default skin and
the reason goes to the logs. The texture type needs nothing but an image in your pack.
- Battle music only plays for a player who has the mod: their client is what runs it, which is
also what makes it loop and what keeps the game's own music waiting until the battle is over.
Credits
Developed by Mathéo (matheo-1712).
Usage terms
- Modpacks: yes. You are free to include this mod in any modpack, public or private,
free or otherwise. No permission needed, no message required.
- Servers: yes. Run it on any server you like.
- Datapacks: yes. Trainer packs you build with this mod are yours - distribute them
however you want.
- Reuploading: no. Do not republish the mod on Modrinth, CurseForge, or any other
distribution site, mirror, or ad-wrapped download page. Link to
this page instead - that way everyone gets
the real file, the right version, and the changelog with it.
Links
- Source & issues: github.com/matheo-1712/cobblemon-trainers
- Full documentation: the wiki -
every field, the
location block, and what each AI difficulty does
- Example pack: downloadable next to the jar on every release, on assets - one folder that works as
a datapack and a resource pack at once, covering every option.
Trainer packs to play
Cobblemon : Mega Trainers → A Cobblemon Trainers datapack featuring one trainer per Mega Evolution from Cobblemon: Mega Showdown by matheo-1712
This is where packs built with the mod will be listed, so you have trainers to fight without writing any. Made one you want listed? Open an issue on GitHub with the link.
Found a bug, or a trainer that won't load? Open an issue on GitHub with your JSON and the
server log - the mod names the file it choked on.
评论 0
登录后参与评分
还没有评论,来抢沙发吧