net.minecraft.world.damagesource

public class CombatRules

bcx
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(float arg0, float arg1, float arg2)
getDamageAfterAbsorb(float arg0, float arg1, float arg2)
method_5496(float arg0, float arg1, float arg2)
getDamageLeft(float damage, float armor, float armorToughness)
m_19272_(float p_19273_, 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_)