@ConfigSerializable public class SpawningConfig extends AbstractYamlConfig
Modifier and Type | Class and Description |
---|---|
static class |
SpawningConfig.BossSpawning |
static class |
SpawningConfig.LevelDistance |
static class |
SpawningConfig.PokeLoot |
static class |
SpawningConfig.PokeStop |
static class |
SpawningConfig.WildSpawning |
base, config
Constructor and Description |
---|
SpawningConfig() |
getNode, save
public int getDespawnRadius()
public float getShinyRate()
public float getShinyCharmMultiplier()
public float getShinyRate(net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension)
dimension
- The dimension for the chancepublic int getLegendarySpawnTicks()
public float getLegendarySpawnChance()
public float getSpawnTicksPlayerMultiplier()
public boolean isSpawnLevelsCloserToPlayerLevels()
public boolean isSpawnLevelsIncreaseInCaves()
public int getCaveMaxMultiplier()
public double getUltraSpaceLevelMultiplier()
public double getTransformToDittoOnCatch()
public double getMeltanTransformChance()
public int getMeltanBoxSpawnRate()
public int getMeltanBoxSpawnRadius()
public int getMeltanBoxInitialScrapsCount()
public double getMeltanBoxScrapsMultiplier()
public long getMeltanBoxOpenDurationMillis()
public long getMeltanBoxCooldownDurationMillis()
public java.util.List<java.lang.String> getCanTransformToDittoOnCatch()
@Deprecated public float getHiddenAbilityRate()
@Deprecated public float getHiddenAbilityRate(net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension)
dimension
- The worldpublic boolean shouldHaveHiddenAbility(Stats form, @Nullable net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension)
public boolean shouldHaveHiddenAbility(float rate)
public float getGigantamaxFactorRate()
public float getGigantamaxFactorRate(net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension)
public boolean isAllowLegendarySpawn()
public int getLegendaryDespawnTicks()
public boolean isDisplayLegendaryGlobalMessage()
public boolean isDoLegendaryRaidEvent()
public boolean isUseRecentLevelMoves()
public boolean isDespawnOnFleeOrLoss()
public double getBellSuccessChance()
public int getBellInclusionRange()
public int getLureFluteDuration()
public int getLureFluteLevelModifier()
public java.util.List<java.lang.Integer> getBlockedGenerations()
public boolean isGenerationEnabled(int generation)
generation
- The Generation to check.public boolean allGenerationsDisabled()
public boolean allGenerationsEnabled()
public int getRandomEnabledGeneration()
java.lang.IllegalStateException
- when all generations are disabledpublic boolean isSpawnZygardeCells()
public SpawningConfig.LevelDistance getLevelDistance()
public SpawningConfig.WildSpawning getWildSpawning()
public SpawningConfig.BossSpawning getBossSpawning()
public SpawningConfig.PokeLoot getPokeLoot()
public SpawningConfig.PokeStop getPokeStop()
public boolean isSpawnLevelsIncreaseInUltraSpace()
public float getUltraSpaceHordeSpawnRate()
public boolean isAlwaysAggressiveDimensions(net.minecraft.world.World world)
public boolean isHordeBattleDimensions(net.minecraft.world.World world)
public boolean isSpawningDisabledDimension(net.minecraft.world.World world)
public int getPlayerTrackingSpawnerSpawnCollectionRate()