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, you will not have to worry about wild Pokémon as long as your Repel is active - no matter where you go.
Features
-
⛫💨 Repel: Craft items you can use to prevent wild Pokémon from appearing around you for a short period!
-
⛲ Repel Sprayer: Place a stationary Repel Sprayer which will prevent Pokémon from appearing around it. Now your farmland can be safe again!
-
🎚️ Different modes: Decide yourself whether you want it to repel all or only weaker Pokémon!
-
📄 Customizable Config: Edit the range and duration of the Repel effect in the config!
-
✨ Shiny/Legendary Hunt: Prevent any Pokémon you want from being repelled!
-
📦 Datapack support: Create your own datapacks to change any of the recipes or textures!
Installation
-
Install Cobblemon and any dependencies.
-
Drop the MaxRepel.jar into your /mods-folder.
-
Start the game or server to generate the config file.
-
Edit /config/maxrepel.json to customize your settings.
Config: maxrepel
"RepelRadius"
Sets the radius around the player in which no Cobblemon spawn as long as Repel is active.
"MatchCobblemonSpawnRadius"
Overrides RepelRadius to match the spawn distance set in the Cobblemon config.
"SprayerRadius" Sets the radius around the Repel Sprayer in which no Cobblemon spawn as long as it is active.
"RepelDuration"
Determines how long Repel should last.
"SuperRepelDuration"
Determines how long Super Repel should last.
"MaxRepelDuration"
Determines how long Max Repel should last.
"MaxSprayerDuration"
How much Repel a Repel Sprayer can hold.
"SprayerDecrementOnRandomTick"
Determines how fast the Repel Sprayer will run out of Repel.
"InfiniteSprayer"
Sets the Repel Sprayer to not loose any Repel (overrides SprayerDecrementOnRandomTick).
"OnlyRepelLowerLvl"
Whether only Pokémon with a level lower than you first non-fainted Pokémon should be repelled (does not affect the Repel Sprayer).
"ExcludeShiny""
Whether shiny Pokémon should be repelled or not.
"ExcludedPokemon"
List of Pokémon which should never be repelled.
Known issues
- tim_core: Placing PokéSnacks within the range of Repel can cause a crash.
All Versions
+ Add Version🎉 Some bug fixes!
🔧 Changes and fixes:
> - Fixed a crash caused by Poké Snacks
> - Fixed a bug where the effect of Repel Sprayers did not stop when they were destroyed while still being active
🎉 Some bug fixes!
🔧 Changes and fixes:
> - Fixed a crash caused by Poké Snacks
🎉 Now with creative sprayers for Cobblemon 1.7!
⭐ New features:
> - New block: Creative Sprayer // A toggleable Repel Sprayer that can only be used in creative mode. When activated, it works independently of other settings and will not run out of Repel.
🎉 Now available for Cobblemon 1.7!
🎉 Now with creative sprayers!
⭐ New features:
> - New block: Creative Sprayer // A toggleable Repel Sprayer that can only be used in creative mode. When activated, it works independently of other settings and will not run out of Repel.
🎉 Some minor additions!
⭐ New features:
> - Use your right hand to check the Repel Sprayers' current capacity!
> - New option: ExcludeShiny // Prevent shiny Pokémon from being repelled
🎉 Some minor additions!
⭐ New features:
> - Use your right hand to check the Repel Sprayers' current capacity!
> - New option: ExcludeShiny // Prevent shiny Pokémon from being repelled
🎉 Now with stationary Repel Sprayers!
⭐ New features:
> - New block: Repel Sprayer // Place it to prevent Pokémon from spawning around it
> - New option: SprayerRadius // Set the radius in which the Repel Sprayer repels Pokémon
> - New option: MaxSprayerDuration // How much Repel a Repel Sprayer can hold
> - New option: SprayerDecrementOnRandomTick // Determines how fast the Repel Sprayer will run out of Repel
> - New option: InfiniteSprayer // Determines whether the Repel Sprayer should run out of Repel or not
🎉 Now with stationary Repel Sprayers!
⭐ New features:
> - New block: Repel Sprayer // Place it to prevent Pokémon from spawning around it
> - New option: SprayerRadius // Set the radius in which the Repel Sprayer repels Pokémon
> - New option: MaxSprayerDuration // How much Repel a Repel Sprayer can hold
> - New option: SprayerDecrementOnRandomTick // Determines how fast the Repel Sprayer will run out of Repel
> - New option: InfiniteSprayer // Determines whether the Repel Sprayer should run out of Repel or not
🔧 Changes and fixes:
> - Fixed "Repel's effect wore off..." not showing
🎉 First release of Max Repel!
🔨 Lets you craft items that prevent Cobblemon spawns around you for a short time!
⚙️ Fully configurable via cobbledlevels.json:
> - RepelRadius // Radius in which Repel should work.
>
> - MatchCobblemonSpawnRadius // Overrides _RepelRadius_ to match the spawn radius set in the Cobblemon config.
>
> - RepelDuration // How long a normal Repel should last
>
> - SuperRepelDuration // How long Super Repel should last.
>
> - MaxRepelDuration // How long Max Repel should last.
>
> - OnlyRepelLowerLvl // Whether only Pokémon with a level lower than you first non-fainted Pokémon should be repelled.
>
> - ExcludedPokémon // List of Pokémon which should never be repelled.
🎉 First release of Max Repel!
🔨 Lets you craft items that prevent Cobblemon spawns around you for a short time!
⚙️ Fully configurable via cobbledlevels.json:
> - RepelRadius // Radius in which Repel should work.
>
> - MatchCobblemonSpawnRadius // Overrides _RepelRadius_ to match the spawn radius set in the Cobblemon config.
>
> - RepelDuration // How long a normal Repel should last
>
> - SuperRepelDuration // How long Super Repel should last.
>
> - MaxRepelDuration // How long Max Repel should last.
>
> - OnlyRepelLowerLvl // Whether only Pokémon with a level lower than you first non-fainted Pokémon should be repelled.
>
> - ExcludedPokémon // List of Pokémon which should never be repelled.