Описание
### 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
1. Install Cobblemon and any dependencies.
2. Drop the 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
**"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](https://modrinth.com/mod/cobblemon-tim-core): Placing PokéSnacks within the range of Repel can cause a crash.