Class HealthUtil

java.lang.Object
com.mrbysco.unhealthydying.util.HealthUtil

public class HealthUtil extends Object
  • Constructor Details

    • HealthUtil

      public HealthUtil()
  • Method Details

    • sendHealthMessage

      public static void sendHealthMessage(net.minecraft.world.entity.player.Player player, int newHealth, int gained)
      Sends a message to the player when their health is changed
      Parameters:
      player - The player to send the message to
      newHealth - The new health the player has
      gained - The amount of health gained