Class SpawningLevelDistanceConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.SpawningLevelDistanceConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
SpawningLevelDistanceConfig
public SpawningLevelDistanceConfig()
-
-
Method Details
-
isSpawnLevelsByDistance
public boolean isSpawnLevelsByDistance()- Returns:
- Sets Pokémon spawn levels to be set by distance from player spawn
-
getMaxLevelByDistance
public int getMaxLevelByDistance()- Returns:
- Sets the max pokemonLevel Pokémon will spawn at by distance
-
getDistancePerLevel
public int getDistancePerLevel()- Returns:
- Sets Pokémon spawn levels to be set by distance from player spawn
-