
modcoble
Cobblemon mod that creates an amazing battle pass with Pokémon, vanilla items like the one in the Cobblemon mod, and much more.
00—fabricServer1.21.1mod
What was built
- Added the Modcoble Battle Pass, a server-side track that rewards Cobblemon trainers and vanilla adventurers with tiered loot, Pokémon vouchers, and cosmetics.
- Progress persists per-player using server saved data and works entirely server-side on Fabric 1.21.1.
How it works
- Earn Battle Pass XP automatically: daily login bonus, steady playtime ticks, mining (ores/base stone), chopping logs, and defeating mobs (extra for Cobblemon entities).
- View status with
/battlepassor/pass; see upcoming rewards with/battlepass tiers. - Claim rewards with
/battlepass claim <tier>or/battlepass claim <tier> premiumonce you have enough XP; claimed rewards cannot be re-claimed. - Admin tools:
/battlepass premium <player> <true|false>unlocks the premium track, and/battlepass grantxp <player> <amount>grants XP manually.
Reward details
- Seven tiers blend Cobblemon-flavored items (Poké Balls, Ultra Balls, Master Ball), Pokémon partners via
pokegivecommands (Eevee, Dratini, Froakie, random shiny), and strong vanilla staples (golden apples, diamonds, netherite scraps, totem, XP bottles). - If Cobblemon or its commands/items are missing, the mod automatically hands out themed vouchers (named papers) instead of failing.
Notable implementation notes
- Uses Fabric events for progression (block breaks, entity deaths, server ticks, joins/disconnects); time-on-server is tracked per session.
- Premium/free claim states and XP are stored in persistent server data; caps prevent runaway XP spikes.
- The mod declares
cobblemonas a suggested dependency, so it will still run without it, but Cobblemon improves the experience.
Limitations / tips
- Pokémon rewards rely on
pokegive(or equivalent) being present; if unavailable, redeem the provided vouchers with staff or custom commands. - Playtime XP uses session-based counters (not cross-session), so logging out resets the current interval but not your earned XP.