net.minecraft.entity

public class DamageUtil

net.minecraft.world.damagesource.CombatRules
net.minecraft.class_1280
net.minecraft.entity.DamageUtil

Field summary

Modifier and TypeField
public static final float
MAX_ARMOR
field_29962
field_29962
public static final float
ARMOR_PROTECTION_DIVIDER
field_29963
field_29963
public static final float
BASE_ARMOR_TOUGHNESS
field_29964
field_29964
public static final float
MIN_ARMOR_RATIO
field_29965
field_29965
private static final int
NUM_ARMOR_ITEMS
field_29966
field_29966

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static float
getDamageAfterAbsorb(LivingEntity victim, float damage, DamageSource source, float totalArmor, float armorToughness)
method_5496(class_1309 arg0, float arg1, class_1282 arg2, float arg3, float arg4)
getDamageLeft(LivingEntity armorWearer, float damageAmount, DamageSource damageSource, float armor, float armorToughness)
public static float
getDamageAfterMagicAbsorb(float damage, float totalMagicArmor)
method_5497(float arg0, float arg1)
getInflictedDamage(float damageDealt, float protection)