Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.unhealthydying.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
com.mrbysco.unhealthydying.platform.services.IPlatformHelper
public class NeoForgePlatformHelper
extends Object
implements com.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleintcom.mrbysco.unhealthydying.config.EnumHealthSettingintintbooleanisPlayer(net.minecraft.world.entity.Entity entity) booleanbooleanbooleanvoidsetAmountData(net.minecraft.world.entity.player.Player player, String customTag, int targetAmount, int healthGained)
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getHealthLossChance
public double getHealthLossChance()- Specified by:
getHealthLossChancein interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
getMinimumHealth
public int getMinimumHealth()- Specified by:
getMinimumHealthin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
getHealthPerDeath
public int getHealthPerDeath()- Specified by:
getHealthPerDeathin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
isReducedHealthMessageEnabled
public boolean isReducedHealthMessageEnabled()- Specified by:
isReducedHealthMessageEnabledin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
getHealthSetting
public com.mrbysco.unhealthydying.config.EnumHealthSetting getHealthSetting()- Specified by:
getHealthSettingin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
isRegenHealthEnabled
public boolean isRegenHealthEnabled()- Specified by:
isRegenHealthEnabledin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
getMaxRegained
public int getMaxRegained()- Specified by:
getMaxRegainedin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
isRegenHealthMessageEnabled
public boolean isRegenHealthMessageEnabled()- Specified by:
isRegenHealthMessageEnabledin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
getRegenTargets
- Specified by:
getRegenTargetsin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
isPlayer
public boolean isPlayer(net.minecraft.world.entity.Entity entity) - Specified by:
isPlayerin interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-
setAmountData
public void setAmountData(net.minecraft.world.entity.player.Player player, String customTag, int targetAmount, int healthGained) - Specified by:
setAmountDatain interfacecom.mrbysco.unhealthydying.platform.services.IPlatformHelper
-