Class RaidsConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.RaidsConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatintfloatbooleangetRaidCanAllCatch(int stars) booleangetRaidCanUseMaster(int stars) intgetRaidDropCount(int stars) floatgetRaidGigantamaxFactorRate(int stars) floatgetRaidHARate(int stars) floatgetRaidShinyRate(int stars) booleanbooleanbooleanMethods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
RaidsConfig
public RaidsConfig()
-
-
Method Details
-
getRaidShinyRate
public float getRaidShinyRate(int stars) -
getRaidHARate
public float getRaidHARate(int stars) -
getRaidGigantamaxFactorRate
public float getRaidGigantamaxFactorRate(int stars) -
getRaidDropCount
public int getRaidDropCount(int stars) -
getDenSpawnChanceModifier
public float getDenSpawnChanceModifier() -
getDenRespawnTime
public int getDenRespawnTime()- Returns:
- Time of day when dens despawn/respawn their contents.
-
getDenRespawnChance
public float getDenRespawnChance()- Returns:
- Chance of a den gaining a new Pokémon at the denRespawnTime.
-
getDenStarWeights
- Returns:
- Weight of each raid star pokemonLevel appearing in a den. 1 star to 5 stars.
-
isRaidHaveLegendaries
public boolean isRaidHaveLegendaries()- Returns:
- Whether raids can have legendaries or not.
-
isRaidHaveUltraBeasts
public boolean isRaidHaveUltraBeasts()- Returns:
- Whether raids can have Ultra Beasts or not.
-
getRaidCanUseMaster
public boolean getRaidCanUseMaster(int stars) -
getRaidCanAllCatch
public boolean getRaidCanAllCatch(int stars) -
getRaidBlacklist
- Returns:
- Species blacklist for raids.
-
isRaidDensBreakable
public boolean isRaidDensBreakable()- Returns:
- Whether dens are breakable with pickaxes or not.
-