Package com.mrbysco.rallyhealth.platform
Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.rallyhealth.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getRiskTimer
public int getRiskTimer()Description copied from interface:IPlatformHelperThe amount of time before the risk disables itself- Specified by:
getRiskTimerin interfaceIPlatformHelper- Returns:
- The configured `riskTimer`
-
getRegainChance
public double getRegainChance()Description copied from interface:IPlatformHelperThe chance of regaining the damage after striking back- Specified by:
getRegainChancein interfaceIPlatformHelper- Returns:
- The configured `regainChance`
-
getRegainPercentage
public double getRegainPercentage()Description copied from interface:IPlatformHelperThe percentage of damage regained after striking back- Specified by:
getRegainPercentagein interfaceIPlatformHelper- Returns:
- The configured `regainPercentage`
-