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 Details

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • Method Details

    • getHealthLossChance

      public double getHealthLossChance()
      Specified by:
      getHealthLossChance in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • getMinimumHealth

      public int getMinimumHealth()
      Specified by:
      getMinimumHealth in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • getHealthPerDeath

      public int getHealthPerDeath()
      Specified by:
      getHealthPerDeath in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • isReducedHealthMessageEnabled

      public boolean isReducedHealthMessageEnabled()
      Specified by:
      isReducedHealthMessageEnabled in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • getHealthSetting

      public com.mrbysco.unhealthydying.config.EnumHealthSetting getHealthSetting()
      Specified by:
      getHealthSetting in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • isRegenHealthEnabled

      public boolean isRegenHealthEnabled()
      Specified by:
      isRegenHealthEnabled in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • getMaxRegained

      public int getMaxRegained()
      Specified by:
      getMaxRegained in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • isRegenHealthMessageEnabled

      public boolean isRegenHealthMessageEnabled()
      Specified by:
      isRegenHealthMessageEnabled in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • getRegenTargets

      public List<? extends String> getRegenTargets()
      Specified by:
      getRegenTargets in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • isPlayer

      public boolean isPlayer(net.minecraft.world.entity.Entity entity)
      Specified by:
      isPlayer in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper
    • setAmountData

      public void setAmountData(net.minecraft.world.entity.player.Player player, String customTag, int targetAmount, int healthGained)
      Specified by:
      setAmountData in interface com.mrbysco.unhealthydying.platform.services.IPlatformHelper