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
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
float
boolean
getRaidCanAllCatch
(int stars) boolean
getRaidCanUseMaster
(int stars) int
getRaidDropCount
(int stars) float
getRaidGigantamaxFactorRate
(int stars) float
getRaidHARate
(int stars) float
getRaidShinyRate
(int stars) boolean
boolean
boolean
Methods 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.
-