Class PokerusConfig

All Implemented Interfaces:
Config

@ConfigSerializable public class PokerusConfig extends AbstractYamlConfig
  • Constructor Details

    • PokerusConfig

      public PokerusConfig()
  • Method Details

    • shouldCatchPokerus

      public boolean shouldCatchPokerus()
    • isEnabled

      @Deprecated public boolean isEnabled()
      Deprecated.
      Returns:
      Whether or not the Pokerus is enabled.
    • getSpawnRate

      @Deprecated public float 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.