Class HealthUtil
java.lang.Object
com.mrbysco.unhealthydying.util.HealthUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsendHealthMessage(net.minecraft.world.entity.player.Player player, int newHealth, int gained) Sends a message to the player when their health is changed
-
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 tonewHealth- The new health the player hasgained- The amount of health gained
-