Interface IPlatformHelper
- All Known Implementing Classes:
NeoForgePlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptiondoubleThe chance of regaining the damage after striking backdoubleThe percentage of damage regained after striking backintThe amount of time before the risk disables itself
-
Method Details
-
getRiskTimer
int getRiskTimer()The amount of time before the risk disables itself- Returns:
- The configured `riskTimer`
-
getRegainChance
double getRegainChance()The chance of regaining the damage after striking back- Returns:
- The configured `regainChance`
-
getRegainPercentage
double getRegainPercentage()The percentage of damage regained after striking back- Returns:
- The configured `regainPercentage`
-