Class LevelByDistanceEvolutionCondition
java.lang.Object
com.pixelmonmod.pixelmon.spawning.LevelByDistanceEvolutionCondition
- All Implemented Interfaces:
SpawnerCondition
A condition that applies when levels by distance setting is on. It will
prevent spawn attempts for Pokémon that should not be possible at the pokemonLevel for this distance
due to pokemonLevel based evolution.
For example, a Squirtle should not be capable of spawning a very long distance from the spawn because past pokemonLevel 15 because past that pokemonLevel it would be reasonable to say it's evolved.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fits
(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation) Returns whether or not thisSpawnInfo
at thisSpawnLocation
is acceptable.
-
Constructor Details
-
LevelByDistanceEvolutionCondition
public LevelByDistanceEvolutionCondition()
-
-
Method Details
-
fits
Description copied from interface:SpawnerCondition
Returns whether or not thisSpawnInfo
at thisSpawnLocation
is acceptable. This is performed async.- Specified by:
fits
in interfaceSpawnerCondition
-