Class SpawningBossConfig

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

@ConfigSerializable public class SpawningBossConfig extends AbstractYamlConfig
  • Constructor Details

    • SpawningBossConfig

      public SpawningBossConfig()
  • Method Details

    • getBossRate

      public float getBossRate()
      Returns:
      The boss spawn rate
    • getBossRate

      public float getBossRate(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
      Parameters:
      dimension - The world
      Returns:
      The boss spawn rate
    • isBossesAlwaysMegaIfPossible

      public boolean isBossesAlwaysMegaIfPossible()
      Returns:
      If enabled, all bosses that spawn that could be a Mega boss, are so.
    • getBossSpawnTicks

      public int getBossSpawnTicks()
      Returns:
      Ticks before a boss Pokémon will spawn.
    • getBossSpawnChance

      public float getBossSpawnChance()
      Returns:
      Chance that a mega boss Pokémon spawn attempt will succeed.