Class HealingConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.HealingConfig
- 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
float
float
int
boolean
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
HealingConfig
public HealingConfig()
-
-
Method Details
-
isBedsHealPokemon
public boolean isBedsHealPokemon()- Returns:
- Whether sleeping in a bed heals a player's Pokémon.
-
isUsePassiveHealer
public boolean isUsePassiveHealer()- Returns:
- Whether to use the passive healer or not
-
getChanceToRevivePassively
public float getChanceToRevivePassively()- Returns:
- Chance to attempt a revive on a random party Pokémon with each step
-
getChanceToHealStatusPassively
public float getChanceToHealStatusPassively()- Returns:
- Chance to attempt a status effect heal on a random party Pokémon with each step
-
getStepsToHealHealthPassively
public int getStepsToHealHealthPassively()- Returns:
- Number of steps after which 1HP is attempted to be healed on a random party Pokémon
-
getPassiveHealingMaxHealthPercentage
public float getPassiveHealingMaxHealthPercentage()- Returns:
- Percentage of health that passive healing can heal up to
-