Class BreedingConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.BreedingConfig
- 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 TypeMethodDescriptionint
float
int
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
BreedingConfig
public BreedingConfig()
-
-
Method Details
-
isAllowBreeding
public boolean isAllowBreeding()- Returns:
- Whether Pokémon can breed.
-
isAllowDittoDittoBreeding
public boolean isAllowDittoDittoBreeding()- Returns:
- Whether two Ditto can breed together to produce random Eggs.
-
isAllowRandomBreedingEggsToBeLegendary
public boolean isAllowRandomBreedingEggsToBeLegendary()- Returns:
- Whether Eggs obtained from breeding two Ditto have the possibility of containing Legendary Pokémon.
-
isAllowRandomBreedingEggsToBeMythic
public boolean isAllowRandomBreedingEggsToBeMythic()- Returns:
- If eggs obtained from breeding two dittos have the possibility of containing Mythic Pokemon.
-
getOvalCharmMultiplier
public float getOvalCharmMultiplier()- Returns:
- The number of to multiply the breedingTicks value by if the player has an Oval Charm. 0.5 = twice as fast.
-
getStepsPerEggCycle
public int getStepsPerEggCycle()- Returns:
- The number of steps a player must take to advance an Egg cycle.
-
isAllowRandomBreedingEggsToBeUltrabeast
public boolean isAllowRandomBreedingEggsToBeUltrabeast()- Returns:
- Whether Eggs obtained from breeding two Ditto have the possibility of containing Ultrabeast Pokémon.
-
isAllowCrossRegionHiddenAbilityInheritance
public boolean isAllowCrossRegionHiddenAbilityInheritance()- Returns:
- Whether the hidden ability slot of a mother can be inherited by a child with a different regional form.
-
getDefaultDayCareAmount
public int getDefaultDayCareAmount()- Returns:
- The default amount of ranches a player has access to
-