Class SpawningMeltanConfig

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

@ConfigSerializable public class SpawningMeltanConfig extends AbstractYamlConfig
  • Constructor Details

    • SpawningMeltanConfig

      public SpawningMeltanConfig()
  • Method Details

    • getMeltanTransformChance

      public double getMeltanTransformChance()
      Returns:
      Chance for Meltan to become a Ditto on catch.
    • getMeltanBoxSpawnRate

      public int getMeltanBoxSpawnRate()
      Returns:
      Average ticks until a Meltan spawns from an open Mystery Box.
    • getMeltanBoxSpawnRadius

      public int getMeltanBoxSpawnRadius()
      Returns:
      Spawn radius of Meltan from an open Mystery Box.
    • getMeltanBoxInitialScrapsCount

      public int getMeltanBoxInitialScrapsCount()
      Returns:
      Initial number of scraps required to open a Mystery Box.
    • getMeltanBoxScrapsMultiplier

      public double getMeltanBoxScrapsMultiplier()
      Returns:
      By how much the number of scraps required to open a Mystery Box is multiplied by each time.
    • getMeltanBoxOpenDurationMillis

      public long getMeltanBoxOpenDurationMillis()
      Returns:
      How many milliseconds Mystery Boxes are open for.
    • getMeltanBoxCooldownDurationMillis

      public long getMeltanBoxCooldownDurationMillis()
      Returns:
      How many milliseconds Mystery Boxes are on cooldown for.