Class DamageUtil

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

public class DamageUtil
extends Object
Mappings:
Namespace Name
official aqd
intermediary net/minecraft/class_1280
named net/minecraft/entity/DamageUtil
  • 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 Laqd;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 Laqd;a(FF)F
      intermediary method_5497 Lnet/minecraft/class_1280;method_5497(FF)F
      named getInflictedDamage Lnet/minecraft/entity/DamageUtil;getInflictedDamage(FF)F