
Cobblemon raids
Add Cobblemon raid triggered by NuVotifier votes reaching a configurable threshold; spawn a single high-HP boss Pokemon for all players; track per-player...
00—fabricServer1.21.1mod
Cobblemon raids now trigger off NuVotifier votes and reward contributors by damage dealt.
- Voting: Each NuVotifier vote increments progress toward
voteThresholdfromconfig/cobblemonraids.json, with progress saved inconfig/cobblemonraids_state.jsonso restarts don’t reset it. Vote announcements are optional viaannounceVotes. - Raid boss: When the threshold is met and no raid is active, a single boss Pokémon spawns near the overworld spawn using the configured
bossSpecies,bossLevel,bossHealthMultiplier,bossScale, andspawnRadius. The boss is boosted with max IVs/EVs, set as non-tradeable, and given extra HP. - Damage tracking: Player damage (including their Pokémon) is tallied while the boss lives. On death, each contributor receives the highest matching damage bracket’s commands/message; the top damager also gets
winnerCommands.{player}and{damage}tokens can be used in command strings. - Defaults: Pre-filled brackets grant golden apples, diamonds, netherite scrap, and a nether star for the top damage dealer. Config values are validated to keep sensible minimums.
- Bundled deps: Cobblemon and
nuvotifier-fabricare included inside the mod JAR so loaders satisfy dependencies automatically. Fabric API is still required as normal. - Notes: Rewards only run for online players and use standard entity damage events, so unusual damage sources that skip those events won’t count. Bosses spawn in the overworld; customize configs to fit your server economy and layout.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.