Class PlayerBasedLevels

java.lang.Object
com.pixelmonmod.pixelmon.spawning.PlayerBasedLevels
All Implemented Interfaces:
SpawnerCondition, SpawningTweak

public class PlayerBasedLevels extends Object implements SpawningTweak, SpawnerCondition
Tweaks the levels of Pokémon to be closer to the player's pokemonLevel if the cause of the spawn is a player. Prevents Pokémon from spawning if they cannot be tweaked to be within range of the player.