Class DamageRecord

java.lang.Object
net.minecraft.entity.damage.DamageRecord

public class DamageRecord
extends Object
Mappings:
Namespace Name
official aqc
intermediary net/minecraft/class_1281
named net/minecraft/entity/damage/DamageRecord
  • Field Details

    • damageSource

      private final DamageSource damageSource
      Mappings:
      Namespace Name Mixin selector
      official a Laqc;a:Laqf;
      intermediary field_5837 Lnet/minecraft/class_1281;field_5837:Lnet/minecraft/class_1282;
      named damageSource Lnet/minecraft/entity/damage/DamageRecord;damageSource:Lnet/minecraft/entity/damage/DamageSource;
    • entityAge

      private final int entityAge
      Mappings:
      Namespace Name Mixin selector
      official b Laqc;b:I
      intermediary field_5836 Lnet/minecraft/class_1281;field_5836:I
      named entityAge Lnet/minecraft/entity/damage/DamageRecord;entityAge:I
    • damage

      private final float damage
      Mappings:
      Namespace Name Mixin selector
      official c Laqc;c:F
      intermediary field_5835 Lnet/minecraft/class_1281;field_5835:F
      named damage Lnet/minecraft/entity/damage/DamageRecord;damage:F
    • entityHealth

      private final float entityHealth
      Mappings:
      Namespace Name Mixin selector
      official d Laqc;d:F
      intermediary field_5834 Lnet/minecraft/class_1281;field_5834:F
      named entityHealth Lnet/minecraft/entity/damage/DamageRecord;entityHealth:F
    • fallDeathSuffix

      private final String fallDeathSuffix
      Mappings:
      Namespace Name Mixin selector
      official e Laqc;e:Ljava/lang/String;
      intermediary field_5838 Lnet/minecraft/class_1281;field_5838:Ljava/lang/String;
      named fallDeathSuffix Lnet/minecraft/entity/damage/DamageRecord;fallDeathSuffix:Ljava/lang/String;
    • fallDistance

      private final float fallDistance
      Mappings:
      Namespace Name Mixin selector
      official f Laqc;f:F
      intermediary field_5833 Lnet/minecraft/class_1281;field_5833:F
      named fallDistance Lnet/minecraft/entity/damage/DamageRecord;fallDistance:F
  • Constructor Details

    • DamageRecord

      public DamageRecord​(DamageSource damageSource, int entityAge, float entityOriginalHealth, float damage, String fallDeathSuffix, float fallDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqc;<init>(Laqf;IFFLjava/lang/String;F)V
      intermediary <init> Lnet/minecraft/class_1281;<init>(Lnet/minecraft/class_1282;IFFLjava/lang/String;F)V
      named <init> Lnet/minecraft/entity/damage/DamageRecord;<init>(Lnet/minecraft/entity/damage/DamageSource;IFFLjava/lang/String;F)V
  • Method Details

    • getDamageSource

      public DamageSource getDamageSource()
      Mappings:
      Namespace Name Mixin selector
      official a Laqc;a()Laqf;
      intermediary method_5499 Lnet/minecraft/class_1281;method_5499()Lnet/minecraft/class_1282;
      named getDamageSource Lnet/minecraft/entity/damage/DamageRecord;getDamageSource()Lnet/minecraft/entity/damage/DamageSource;
    • getDamage

      public float getDamage()
      Mappings:
      Namespace Name Mixin selector
      official c Laqc;c()F
      intermediary method_5503 Lnet/minecraft/class_1281;method_5503()F
      named getDamage Lnet/minecraft/entity/damage/DamageRecord;getDamage()F
    • isAttackerLiving

      public boolean isAttackerLiving()
      Mappings:
      Namespace Name Mixin selector
      official f Laqc;f()Z
      intermediary method_5502 Lnet/minecraft/class_1281;method_5502()Z
      named isAttackerLiving Lnet/minecraft/entity/damage/DamageRecord;isAttackerLiving()Z
    • getFallDeathSuffix

      @Nullable public String getFallDeathSuffix()
      Mappings:
      Namespace Name Mixin selector
      official g Laqc;g()Ljava/lang/String;
      intermediary method_5500 Lnet/minecraft/class_1281;method_5500()Ljava/lang/String;
      named getFallDeathSuffix Lnet/minecraft/entity/damage/DamageRecord;getFallDeathSuffix()Ljava/lang/String;
    • getAttackerName

      @Nullable public Text getAttackerName()
      Mappings:
      Namespace Name Mixin selector
      official h Laqc;h()Loi;
      intermediary method_5498 Lnet/minecraft/class_1281;method_5498()Lnet/minecraft/class_2561;
      named getAttackerName Lnet/minecraft/entity/damage/DamageRecord;getAttackerName()Lnet/minecraft/text/Text;
    • getFallDistance

      public float getFallDistance()
      Mappings:
      Namespace Name Mixin selector
      official j Laqc;j()F
      intermediary method_5501 Lnet/minecraft/class_1281;method_5501()F
      named getFallDistance Lnet/minecraft/entity/damage/DamageRecord;getFallDistance()F