net.minecraft.world.damagesource

public class CombatRules

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static float
a(bvi arg0, float arg1, btc 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)
public static float
a(float arg0, float arg1)
getDamageAfterMagicAbsorb(float arg0, float arg1)
method_5497(float arg0, float arg1)
getInflictedDamage(float damageDealt, float protection)