premium banner
Adds Repel to Cobblemon! - Drive away wild Pokémon around you - no matter where you go!

Description

🛡️ Introduction

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.


✨ Features

💨 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.


⚙️ Installation

  1. Install Cobblemon and any dependencies.
  2. Drop MaxRepel.jar into your /mods folder.
  3. Start the game or server to generate the config file.
  4. Edit /config/maxrepel.json to customize your settings.

🔧 Config

📂 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"

🚧 Known Issues

  • tim_core: Placing PokéSnacks within the range of Repel can cause a crash.