This mod adds Repel from the Pokémon games — an item that drives away wild Pokémon so you won’t encounter them for a short time.
Just like in the Pokémon games, as long as your Repel is active you won’t have to worry about wild encounters — no matter where you go.
💨 Repel Items
Craft items that prevent wild Pokémon from spawning around you for a set time.
⛲ Repel Sprayer
Place a stationary Repel Sprayer to keep areas like your base or farmland Pokémon-free.
🎚️ Different Modes
Choose whether Repel blocks all Pokémon or only weaker ones.
📄 Customizable Config
Fully control the range and duration of Repel effects.
✨ Shiny/Legendary Hunt
Exclude certain Pokémon (like Shinies or Legendaries) from being repelled.
📦 Datapack Support
Override recipes or textures with your own datapacks.
MaxRepel.jar into your /mods folder./config/maxrepel.json to customize your settings.📂 maxrepel.json
"RepelRadius"
// Radius around the player where no Pokémon spawn while Repel is active
"MatchCobblemonSpawnRadius"
// true/false – overrides RepelRadius to match Cobblemon’s spawn distance
"RepelDuration"
// Duration of normal Repel
"SuperRepelDuration"
// Duration of Super Repel
"MaxRepelDuration"
// Duration of Max Repel
"OnlyRepelLowerLvl"
// true/false – only repel Pokémon weaker than your first non-fainted Pokémon
"ExcludeShiny"
// true/false – exclude shiny Pokémon from Repel
"ExcludedPokemon"
// List of Pokémon IDs that will never be repelled
// Example: "cobblemon:pikachu", "cobblemon:eevee"