Skip to content

Fix Cobblemon Pokedex Range Settings

By MadgiqueOwner

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

1k downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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.

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.