Package net.minecraft.world.damagesource
Class CombatRules
java.lang.Object
net.minecraft.world.damagesource.CombatRules
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
static float
static float
static float
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
getDamageAfterAbsorb(float p_19273_, float p_19274_, float p_19275_)
static float
getDamageAfterMagicAbsorb(float p_19270_, float p_19271_)
-
Field Details
-
MAX_ARMOR
public static final float MAX_ARMOR- See Also:
- Constant Field Values
-
ARMOR_PROTECTION_DIVIDER
public static final float ARMOR_PROTECTION_DIVIDER- See Also:
- Constant Field Values
-
BASE_ARMOR_TOUGHNESS
public static final float BASE_ARMOR_TOUGHNESS- See Also:
- Constant Field Values
-
MIN_ARMOR_RATIO
public static final float MIN_ARMOR_RATIO- See Also:
- Constant Field Values
-
NUM_ARMOR_ITEMS
private static final int NUM_ARMOR_ITEMS- See Also:
- Constant Field Values
-
-
Constructor Details
-
CombatRules
public CombatRules()
-
-
Method Details
-
getDamageAfterAbsorb
public static float getDamageAfterAbsorb(float p_19273_, float p_19274_, float p_19275_) -
getDamageAfterMagicAbsorb
public static float getDamageAfterMagicAbsorb(float p_19270_, float p_19271_)
-