Cobblemon KO Shiny
This mod is now part of the Cobblemon Unchained project! Only bug fixes will be implemented going forward. Cobblemon Unchained ensures compatibility between this mod and other author's developments related to Pokémon spawning in the world.
Main Concept
Increase your chances of encountering a shiny Pokémon by defeating its wild counterparts in battles!
Victory System
Every time a player defeats a wild Pokémon, the counter for that species increases. This indicator persists throughout the entire gameplay in the world and never resets.
Bonus Shiny Pokémon Chance
As the victory counter for a specific Pokémon species grows, any individual of that species spawning nearby gains an increased chance of becoming shiny. The system operates on threshold values - upon reaching a certain number of victories, additional chances are unlocked. If multiple players with achieved thresholds for the spawning species are nearby, the chance of the player with the highest indicator is considered.
Configuration
In the configuration, you can change the radius within which the player's counter is considered when Pokémon spawn (default 64 blocks). Threshold values are also configurable: at 101+ victories - 2 chances, at 301+ - 3 chances, at 501+ - 4 chances. Without reaching the threshold, only 1 chance is used. The base probability is determined by the shinyRate parameter in the Cobblemon configuration (default 8196).
Required Mods
Cobblemon
Fabric Language Kotlin
Cloth Config