Class PokerusConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.PokerusConfig
- 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 TypeMethodDescriptionfloat
Deprecated.int
boolean
Deprecated.boolean
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
PokerusConfig
public PokerusConfig()
-
-
Method Details
-
shouldCatchPokerus
public boolean shouldCatchPokerus() -
isEnabled
Deprecated.- Returns:
- Whether or not the Pokerus is enabled.
-
getSpawnRate
Deprecated.- Returns:
- The chance of a wild Pokémon spawning with Pokérus.
-
isInformPlayers
public boolean isInformPlayers()- Returns:
- Whether or not the player(s) should be informed when their Pokémon is dying
-
getSpreadRate
public int getSpreadRate()- Returns:
- The chance to spread the Pokérus to the near Pokémon after a battle.
-