CobbleSweeper: Auto-Clean Wild Pokémon in Cobblemon

CobbleSweeper: The Ultimate Cobblemon World Cleanup Addon Running a Cobblemon server or single-player world can quickly turn into a chaotic mess of wild Pokemon spawning everywhere. Over time, these untamed creatures pile up, causing lag, clutter, and a headache for anyone trying to keep their wo...

Download CobblemonSweeper for Minecraft 1.21.1

Original name: CobblemonSweeper

Minecraft: 1.21.1

FileVersionLoaderSize
CobblemonSweeper V1.0.zip1.21.14 КБDownload
CobblemonSweeper V1.1.zip1.21.14 КБDownload
CobblemonSweeper V1.2.zip1.21.14 КБDownload

CobbleSweeper: The Ultimate Cobblemon World Cleanup Addon

Running a Cobblemon server or single-player world can quickly turn into a chaotic mess of wild Pokemon spawning everywhere. Over time, these untamed creatures pile up, causing lag, clutter, and a headache for anyone trying to keep their world tidy. Enter CobbleSweeper, a lightweight yet powerful addon designed to automatically purge unwanted wild Pokemon while leaving your prized catches, legendaries, and special encounters untouched. Whether you are a server admin or a solo adventurer, this tool brings order to the wilderness with minimal effort.

What is CobbleSweeper?

CobbleSweeper is a Minecraft datapack created specifically for the Cobblemon mod. It functions as a smart cleanup system that periodically sweeps through loaded chunks and removes wild Pokemon that meet certain criteria. Unlike crude entity wipers, it respects player ownership and preserves rare or valuable spawns. After clearing the wild Pokemon, it also tidies up any dropped items, ensuring no leftover loot clutters the landscape. The addon is fully configurable, allowing you to adjust timers, exclusion lists, and even the distance at which Pokemon are affected.

Key Features of CobbleSweeper

The addon stands out because of its thoughtful design. Here is what it brings to your Cobblemon experience:

  • Intelligent wild Pokemon removal – only targets wild Pokemon, ignoring those owned by players, currently in battle, or flagged as shiny.
  • Rare spawn protection – automatically excludes wild legendaries, Ultra Beasts, Paradox Pokemon, and any species you add to the safe list.
  • Post-cleanup item sweep – after all eligible wild Pokemon are removed, the addon clears dropped items to leave no trace behind.
  • Customizable warning timers – set multiple countdown alerts so players know when a cleanup is imminent.
  • Adjustable exclusion list – add as many Pokemon species as you like to the protection list by editing a single function file.
  • Configurable distance – define the radius around players within which Pokemon are safe from removal.

How CobbleSweeper Keeps Your World Running Smoothly

The cleanup process is driven by a series of timed warnings. By default, the addon announces a countdown starting several minutes before the actual sweep, giving players time to react or capture something they want. The final warning fires at the 10-second mark, and then all qualifying wild Pokemon are instantly removed. This not only reduces entity lag but also refreshes spawn cycles, making it easier to encounter new Pokemon without old ones hogging the mob cap. The item cleanup that follows ensures no stray Poké Balls or berries remain scattered around.

One of the smartest touches is how CobbleSweeper handles battles. If a wild Pokemon is engaged in combat, it is spared, so your fight is never interrupted mid-move. Similarly, shiny hunters can breathe easy knowing their sparkly finds are completely ignored by the sweep. This balance of aggression and caution makes the addon feel like a natural part of the game rather than a brute-force tool.

Customizing CobbleSweeper to Your Needs

Flexibility is at the core of CobbleSweeper. All configuration is done through simple edits to the datapack’s function files. No complex GUIs or external configs are needed. Here is how you can tailor it to your world:

Adjusting the warning timers: Open the file data/winds/function/warn3m.mcfunction. The base timer adds 30 seconds to whatever value you set. To change the initial warning to 10 minutes, for example, you would set it to 510s (since 510 + 30 = 540 seconds, or 9 minutes, but double-check: the description says the datapack adds 30s as the base. So if you want a 10-minute warning, you’d set it to 570s? Actually, the original says: "Change the 150s to any number you'd like, since the datapack adds 30s as the base. If you want for example :, change it to 10 minutes 10 minutes = it'll be 510s + 30s" Wait, 510s + 30s = 540s = 9 minutes, not 10. Possibly a typo, but the idea is you subtract 30 from your desired total. So for 10 minutes (600s), set to 570s. Then update the tellraw message text to reflect the new time. Similarly, the 30-second warning file (warn30s.mcfunction) and 10-second final warning (warn10s.mcfunction) can be tweaked by editing the wait times and messages.

Adding Pokemon to the exclusion list: In blownaway.mcfunction, locate the NBT filter line. To protect a specific species, append ,nbt=!{Pokemon:{Species:"cobblemon:cyndaquil"}} (replace cyndaquil with the desired Pokemon’s ID). You can chain multiple exclusions together, and there is no practical limit. This is perfect for servers that want to safeguard rare spawns or custom event Pokemon.

Changing the cleanup distance: The same blownaway.mcfunction file contains a distance argument. Modify it to something like distance=50.. to only affect Pokemon farther than 50 blocks from any player. This prevents the sweep from touching Pokemon near your base or current location.

Installing CobbleSweeper with Ease

Getting CobbleSweeper onto your server or single-player world follows the standard datapack installation process. Simply drop the downloaded folder into your world’s datapacks directory and reload. For those who prefer a more streamlined approach, the foxygame.net launcher provides a modern, flexible way to handle your Minecraft mods. This launcher lets you browse and install addons like CobbleSweeper directly from its built-in menu, eliminating the need to dig through file folders manually. Once activated, the datapack starts working immediately, and you can begin customizing the timer and exclusion settings right away.

Conclusion

CobbleSweeper fills a critical gap for Cobblemon players who want a clean, lag-free world without sacrificing rare encounters. Its intelligent filtering, battle awareness, and post-sweep item cleanup make it far superior to generic entity removal tools. The deep configurability ensures it adapts to any playstyle, whether you run a public server with dozens of players or a cozy single-player adventure. By automating the tedious task of wild Pokemon management, CobbleSweeper lets you focus on what really matters: catching, training, and exploring the vast world of Cobblemon. Give it a try and watch your world transform into a tidier, more enjoyable space.