Package net.minecraft.entity
Class DamageUtil
java.lang.Object
net.minecraft.entity.DamageUtil
- Mappings:
Namespace Name official asn
intermediary net/minecraft/class_1280
named net/minecraft/entity/DamageUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
static float
static float
static float
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
getDamageLeft(float damage, float armor, float armorToughness)
static float
getInflictedDamage(float damageDealt, float protection)
-
Field Details
-
field_29962
public static final float field_29962- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lasn;a:F
intermediary field_29962
Lnet/minecraft/class_1280;field_29962:F
named field_29962
Lnet/minecraft/entity/DamageUtil;field_29962:F
-
field_29963
public static final float field_29963- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Lasn;b:F
intermediary field_29963
Lnet/minecraft/class_1280;field_29963:F
named field_29963
Lnet/minecraft/entity/DamageUtil;field_29963:F
-
field_29964
public static final float field_29964- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Lasn;c:F
intermediary field_29964
Lnet/minecraft/class_1280;field_29964:F
named field_29964
Lnet/minecraft/entity/DamageUtil;field_29964:F
-
field_29965
public static final float field_29965- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Lasn;d:F
intermediary field_29965
Lnet/minecraft/class_1280;field_29965:F
named field_29965
Lnet/minecraft/entity/DamageUtil;field_29965:F
-
field_29966
private static final int field_29966- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official e
Lasn;e:I
intermediary field_29966
Lnet/minecraft/class_1280;field_29966:I
named field_29966
Lnet/minecraft/entity/DamageUtil;field_29966:I
-
-
Constructor Details
-
DamageUtil
public DamageUtil()
-
-
Method Details
-
getDamageLeft
public static float getDamageLeft(float damage, float armor, float armorToughness)- Mappings:
Namespace Name Mixin selector official a
Lasn;a(FFF)F
intermediary method_5496
Lnet/minecraft/class_1280;method_5496(FFF)F
named getDamageLeft
Lnet/minecraft/entity/DamageUtil;getDamageLeft(FFF)F
-
getInflictedDamage
public static float getInflictedDamage(float damageDealt, float protection)- Mappings:
Namespace Name Mixin selector official a
Lasn;a(FF)F
intermediary method_5497
Lnet/minecraft/class_1280;method_5497(FF)F
named getInflictedDamage
Lnet/minecraft/entity/DamageUtil;getInflictedDamage(FF)F
-