Breeding Lifecycle
An addition to Cobblemon breeding: each parent gets a growing chance of being lost, instead of always being consumed.
截图
介绍
Breeding Lifecycle
An addition to a breeding system, not a breeding system of its own. After each breeding, Breeding Lifecycle
decides whether each parent is lost, with a chance that grows with every breeding that parent has done, instead of
always consuming both parents.
What it needs
The breeding itself comes from one of three places:
- Your server’s daycare, calling the one-call Java API
BreedingLifecycle.evaluate(parentA, parentB)after it
breeds; - A breeding mod that fires Cobblemon’s
COLLECT_EGGevent with the real parents, through the bundled adapter
(eggEventAdapter.enabled); - The reference daycare included in the mod (
/daycare), off by default, to try the curve in game.
How it works
For a parent’s n-th breeding the loss chance is p(n) = 1 − (1 − p1) · r^(n−1), reaching 1 at maxBreedings
when one is set. With the default curve (p1 = 0.33, r = 0.764) a parent is lost with a 33 % chance on its first
breeding, then 49 %, 61 %, 70 % and 77 %; on average it gives 2.20 offspring before it is lost, against 1 when both
parents are always consumed. Ditto has its own curve. Each Pokémon carries its own breeding counter, so the chance
follows it through the PC and trades.
Features
- Server-only: players install nothing. Messages are translated on the server into English or Spanish, following
each client’s language. config/breeding-lifecycle.jsonwith presets and field-by-field overrides; invalid values are reported with their
field, value and range./breedinglifecycle reload(or vanilla/reload) applies changes./breedinglifecycle info <1-6>shows a party Pokémon’s breedings and the loss chance of its next breeding;
/breedinglifecycle curveprints the active curves.- Every roll is written to
logs/breeding-lifecycle/audit.jsonl. - The reference daycare honours Cobbreeding’s
neuteredflag.
Requirements
Minecraft 1.21.1, Fabric Loader 0.19.2 or newer, Fabric API, Fabric Language Kotlin and Cobblemon 1.7.3+1.21.1 or
newer, on the server. Java 21.
Links
Source, documentation, a command-line simulator and a web simulator of the curve:
https://github.com/bernhardtwo/cobblemon-breeding-lifecycle
MIT licensed. Bundles Server Translations API (MIT), which nests Packet Tweaker (LGPLv3).
常见问题
Breeding Lifecycle 支持哪些 Minecraft 版本?
Breeding Lifecycle 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Breeding Lifecycle 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分