Package net.minecraft.entity
Class DamageUtil
java.lang.Object
net.minecraft.entity.DamageUtil
public class DamageUtil extends Object
- Mappings:
Namespace Name official aqdintermediary net/minecraft/class_1280named net/minecraft/entity/DamageUtil
-
Constructor Summary
Constructors Constructor Description DamageUtil() -
Method Summary
Modifier and Type Method Description static floatgetDamageLeft(float damage, float armor, float armorToughness)static floatgetInflictedDamage(float damageDealt, float protection)
-
Constructor Details
-
DamageUtil
public DamageUtil()
-
-
Method Details
-
getDamageLeft
public static float getDamageLeft(float damage, float armor, float armorToughness)- Mappings:
Namespace Name Mixin selector official aLaqd;a(FFF)Fintermediary method_5496Lnet/minecraft/class_1280;method_5496(FFF)Fnamed getDamageLeftLnet/minecraft/entity/DamageUtil;getDamageLeft(FFF)F
-
getInflictedDamage
public static float getInflictedDamage(float damageDealt, float protection)- Mappings:
Namespace Name Mixin selector official aLaqd;a(FF)Fintermediary method_5497Lnet/minecraft/class_1280;method_5497(FF)Fnamed getInflictedDamageLnet/minecraft/entity/DamageUtil;getInflictedDamage(FF)F
-