Fix Cobblemon Pokedex Range Settings
ModMIT

Fix Cobblemon Pokedex Range Settings

Fixes a bug in Cobblemon where the maxPokedexScanningDetectionRange config option was not working properly.

163
Downloads
0
Followers
3 months ago
Updated
📦
2
Versions

📖About Fix Cobblemon Pokedex Range Settings

This mod fixes a bug in Cobblemon where the maxPokedexScanningDetectionRange config option was not being properly applied.

The Bug

In Cobblemon, the Pokedex scanner has a config option maxPokedexScanningDetectionRange that should control how far you can scan Pokemon. However, the entity detection bounding box was hardcoded to 12.0 + zoomLevel instead of using the config value, making the setting ineffective for values greater than 12.

The Fix

This mod overwrites the detectEntity method in PokemonScanner to use the config value for the bounding box size.

Note

This is a temporary fix until Cobblemon fixes this upstream.