A daycare/breeding plugin for Pixelmon on Arclight — replaces vanilla
Pixelmon's built-in Day Care with a server-managed alternative. Each Pixelmon
<colour>_day_care block a player places is registered, owned, and ticked
by Hatchery; environment blocks around it contribute type-based "environment
points," progress accrues over time, and an egg is generated when progress
crosses a configurable threshold. The vanilla Pixelmon Day Care GUI is
suppressed for any block Hatchery manages.
Version: 1.1.2
Current server target: Minecraft 1.21.1 · Arclight · Pixelmon 9.3.16
1.21.1 port note. This branch is the server-tested 1.21.1 line. It keeps the same user-facing Hatchery behavior, but the Pixelmon/Arclight integration was adjusted for the 1.21.1 runtime (
v1_21_R1CraftBukkit package, current Pixelmon party storage behavior, and Pixelmon 9.3.x Day Care blocks).Block change in 1.1.1. Pixelmon 9.x no longer ships
ranch_block; the modern equivalent ispixelmon:<colour>_day_care(16 dyed variants). Hatchery binds to all 16 colours by default and short-circuits Pixelmon's own Day Care interaction. SeeCONFIG.mdfor the full list and how to narrow it.
| Doc | Audience | What's in it |
|---|---|---|
| docs/PLAYER-GUIDE.md | Players | Placing a Day Care block, using the GUI, breeding mechanics, hourglasses, upgrades, eggs, /daycares |
| docs/ADMIN-GUIDE.md | Admins | /hatchery command reference, permissions, LuckPerms meta, storage, ops procedures |
| docs/CONFIG.md | Admins | Per-key reference for all four YAML config files |
| PLAN.md | Devs | Original implementation notes and package map |
- Drop
Hatchery-1.1.2.jarintoplugins/on a server running:- Minecraft 1.21.1
- Arclight (Forge → Bukkit hybrid)
- Pixelmon 9.3.x (tested on 9.3.16)
- Start once to generate the default configs under
plugins/Hatchery/. - Edit configs to taste, then
/hatchery reload.
Soft dependencies (auto-detected if installed): LuckPerms, PlaceholderAPI.
cd Hatchery
gradle shadowJar
# → build/libs/Hatchery-1.1.2.jarPixelmon and Minecraft server jars are compile-only local dependencies and are
not committed. See libs/README.md before building.
- 1.21.1 runtime port — sprite conversion now uses the 1.21.1 CraftBukkit package and direct Pixelmon APIs where the new runtime is stable.
- Party-removal dupe guard — placing a parent in the daycare now clears both Pixelmon's active and original party storage layers, sends the storage update packets, and refuses placement if the same Pokemon UUID is still in the party afterward.
- Egg held-item cleanup — eggs generated by Hatchery have their held item cleared so a parent-held item cannot be cloned onto the egg.
- Stale parent cleanup — if an older daycare record already contains a Pokemon that is also still in the player's party, shift-click retrieval clears the daycare copy instead of duplicating the Pokemon again.
- 🟢 GUI polish — every non-interactive slot in the Daycare and Party
Picker menus is now filled with a configurable filler block (default
minecraft:black_stained_glass_pane) so the interactive Parent / Status / Egg / Back slots stand out cleanly. - 🟢 Title cleanup — the legacy zero-width-space marker in inventory
titles is gone. Titles now render as plain "Daycare" / "Choose Pokemon"
instead of the doubled-with-tofu-glyph string. Menu identification
continues to go through
MenuManager(already tracked by player UUID). - ✏️ Config: new
gui.filler-itemkey inconfig.yml. Set it to any namespaced block ID, e.g.pixelmon:apricorn_log.
- 🟢 Day Care block migration — Hatchery now binds to Pixelmon 9.x's
pixelmon:<colour>_day_careblocks (all 16 dyed variants). The legacydaycare.block: pixelmon:ranch_blockconfig key kept generating orphan daycares because the block doesn't exist in 9.x. - 🟢 Pixelmon Day Care GUI suppression — right-clicking a Hatchery-managed
block cancels the Bukkit
PlayerInteractEventbefore Pixelmon'sDayCareBlock#use()runs, so the player only sees Hatchery's menu. - ✏️ Config:
daycare.block→daycare.blocks(list). Backward-compatible: the legacy single-string key is still accepted and merged into the list.
- Hourglass + upgrade right-click application
- Full admin command suite (
give-hourglass,give-upgrade,force-egg,remove) daycare.upgrade.drop-on-breakactually drops itemsmakeEggmother-selection fixhatchery.maxdaycaresLP meta now authoritative- Env-points cache +
BlockChangeListenerinvalidation - Dirty-flag save throttle
- Particle interval honoured
Original implementation notes live in PLAN.md.
In-house plugin maintained by the Oracion team. Pixelmon API surfaces used under their public mod ABI; Pixelmon itself is © PixelmonMod.