Class DamageUtil

java.lang.Object
net.minecraft.entity.DamageUtil

public class DamageUtil extends Object
Mappings:
Namespace Name
named net/minecraft/entity/DamageUtil
intermediary net/minecraft/class_1280
official btv
  • Field Details

    • field_29962

      public static final float field_29962
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29962 Lnet/minecraft/entity/DamageUtil;field_29962:F
      intermediary field_29962 Lnet/minecraft/class_1280;field_29962:F
      official a Lbtv;a:F
    • field_29963

      public static final float field_29963
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29963 Lnet/minecraft/entity/DamageUtil;field_29963:F
      intermediary field_29963 Lnet/minecraft/class_1280;field_29963:F
      official b Lbtv;b:F
    • field_29964

      public static final float field_29964
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29964 Lnet/minecraft/entity/DamageUtil;field_29964:F
      intermediary field_29964 Lnet/minecraft/class_1280;field_29964:F
      official c Lbtv;c:F
    • field_29965

      public static final float field_29965
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29965 Lnet/minecraft/entity/DamageUtil;field_29965:F
      intermediary field_29965 Lnet/minecraft/class_1280;field_29965:F
      official d Lbtv;d:F
    • field_29966

      private static final int field_29966
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29966 Lnet/minecraft/entity/DamageUtil;field_29966:I
      intermediary field_29966 Lnet/minecraft/class_1280;field_29966:I
      official e Lbtv;e:I
  • Constructor Details

    • DamageUtil

      public DamageUtil()
  • Method Details

    • getDamageLeft

      public static float getDamageLeft(LivingEntity armorWearer, float damageAmount, DamageSource damageSource, float armor, float armorToughness)
      Mappings:
      Namespace Name Mixin selector
      named getDamageLeft Lnet/minecraft/entity/DamageUtil;getDamageLeft(Lnet/minecraft/entity/LivingEntity;FLnet/minecraft/entity/damage/DamageSource;FF)F
      intermediary method_5496 Lnet/minecraft/class_1280;method_5496(Lnet/minecraft/class_1309;FLnet/minecraft/class_1282;FF)F
      official a Lbtv;a(Lbwf;FLbtz;FF)F
    • getInflictedDamage

      public static float getInflictedDamage(float damageDealt, float protection)
      Mappings:
      Namespace Name Mixin selector
      named getInflictedDamage Lnet/minecraft/entity/DamageUtil;getInflictedDamage(FF)F
      intermediary method_5497 Lnet/minecraft/class_1280;method_5497(FF)F
      official a Lbtv;a(FF)F