net.minecraft.world.damagesource

public class CombatRules

brg
net.minecraft.world.damagesource.CombatRules
net.minecraft.class_1280
net.minecraft.entity.DamageUtil
net.minecraft.src.C_487_
net.minecraft.world.damagesource.CombatMath

Field summary

Modifier and TypeField
public static final float
a
MAX_ARMOR
field_29962
field_29962
f_146688_
public static final float
b
ARMOR_PROTECTION_DIVIDER
field_29963
field_29963
f_146689_
public static final float
c
BASE_ARMOR_TOUGHNESS
field_29964
field_29964
f_146690_
public static final float
d
MIN_ARMOR_RATIO
field_29965
field_29965
f_146691_
private static final int
e
NUM_ARMOR_ITEMS
field_29966
field_29966
f_146692_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static float
a(btn arg0, float arg1, brk arg2, float arg3, float arg4)
getDamageAfterAbsorb(LivingEntity arg0, float arg1, DamageSource arg2, float arg3, float arg4)
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)
m_19272_(C_524_ p_344681_, float p_19273_, C_489_ p_328919_, float p_19274_, float p_19275_)
public static float
a(float arg0, float arg1)
getDamageAfterMagicAbsorb(float arg0, float arg1)
method_5497(float arg0, float arg1)
getInflictedDamage(float damageDealt, float protection)
m_19269_(float p_19270_, float p_19271_)