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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfits(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation) Returns whether or not thisSpawnInfoat thisSpawnLocationis acceptable.
-
Constructor Details
-
LevelByDistanceEvolutionCondition
public LevelByDistanceEvolutionCondition()
-
-
Method Details
-
fits
Description copied from interface:SpawnerConditionReturns whether or not thisSpawnInfoat thisSpawnLocationis acceptable. This is performed async.- Specified by:
fitsin interfaceSpawnerCondition
-