Repository navigation
Breeding Mechanics
Placing any block in daycare.blocks registers a daycare owned by the placer,
subject to:
-
World rules — blocked in
worlds.blacklisted; inworlds.use-vanilla-pixelmonHatchery defers to Pixelmon's own breeding. -
Cap — the player's resolved cap (
hatchery.maxdaycaresLuckPerms meta, ordaycare.max-per-player-default).
Breaking the block unregisters it (and refunds upgrades if
upgrade.drop-on-break).
Add two Pokémon from your party (PC not supported). They must pass, via Pixelmon's own API:
-
Egg group —
EggGroup.canBreedWith(overlapping groups). - Gender — opposite genders, or a valid Ditto pairing.
- Discovered — undiscovered/mystery Pokémon are rejected.
Incompatible pairs are refused with breeding.pair-incompatible.
Every breeding.tick-interval-seconds (while the chunk is loaded — breeding
pauses on chunk unload):
-
EnvironmentScannerscans blocks within the daycare's radius (base-scan-radius+ upgrades ×radius-per-level). - Each block contributes points based on the pair's types using
environment-points.yml(+ universal bonuses). See Environment Points. - Total points → a satisfaction tier (
satisfaction-levels) → a speed multiplier (0.5×–3.0× by default). - Breeding progress advances by the tier's multiplier. Tier changes notify the
owner (
breeding.satisfaction-changed).
When progress reaches breeding.base-points-needed, the egg is marked ready
(breeding.egg-ready with coordinates). The owner right-clicks the daycare and
clicks Collect Egg in the GUI (breeding.egg-collected). The egg is created
through Pixelmon's pokemon.makeEgg() and hatches via normal Pixelmon rules.
max-eggs-per-daycare caps uncollected eggs.
- Hourglasses — right-click with one to add ticks instantly.
- Environment Upgrade — right-click to widen the scan radius (more blocks count → higher tiers).
The scanner currently does a full rescan each tick — fine for ≲50 active
daycares. Incremental invalidation (BlockChangeListener) is on the
Roadmap for larger networks.