Class SpawningLegendaryConfig

java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.SpawningLegendaryConfig
All Implemented Interfaces:
Config

@ConfigSerializable public class SpawningLegendaryConfig extends AbstractYamlConfig
  • Constructor Details

    • SpawningLegendaryConfig

      public SpawningLegendaryConfig()
  • Method Details

    • getLegendarySpawnTicks

      public int getLegendarySpawnTicks()
      Returns:
      Ticks before a Legendary Pokémon will attempt to spawn.
    • getLegendarySpawnChance

      public float getLegendarySpawnChance()
      Returns:
      Chance that a Legendary Pokémon spawn attempt will succeed. Use
    • getSpawnTicksPlayerMultiplier

      public float getSpawnTicksPlayerMultiplier()
      Returns:
      The multiplier applied to spawn ticks for legendary and boss spawning in the equation: ticks = defaultTicks / (1 + (numPlayers - 1) * x)
    • isAllowLegendarySpawn

      public boolean isAllowLegendarySpawn()
      Returns:
      Whether Legendary Pokémon can spawn.
    • getLegendaryDespawnTicks

      public int getLegendaryDespawnTicks()
      Returns:
      Ticks until a Legendary Pokémon despawns.
    • isDisplayLegendaryGlobalMessage

      public boolean isDisplayLegendaryGlobalMessage()
      Returns:
      Whether the Legendary Pokémon spawning message appears.
    • isDoLegendaryRaidEvent

      public boolean isDoLegendaryRaidEvent()
      Returns:
      Whether the Legendary Pokémon spawning message appears for raids.
    • getBellSuccessChance

      public double getBellSuccessChance()
      Returns:
      Chance for a Clear/Tidal bell to succeed.
    • getBellInclusionRange

      public int getBellInclusionRange()
      Returns:
      Range where separate bells are considered as part of the same group
    • isSpawnZygardeCells

      public boolean isSpawnZygardeCells()
      Returns:
      Whether to spawn Zygarde cells in the world