Class CombatEntry

java.lang.Object
net.minecraft.util.CombatEntry

public class CombatEntry extends Object
  • Field Details

    • source

      private final DamageSource source
    • time

      private final int time
    • damage

      private final float damage
    • health

      private final float health
    • location

      private final String location
    • fallDistance

      private final float fallDistance
  • Constructor Details

    • CombatEntry

      public CombatEntry(DamageSource p_i1564_1_, int p_i1564_2_, float p_i1564_3_, float p_i1564_4_, String p_i1564_5_, float p_i1564_6_)
  • Method Details

    • getSource

      public DamageSource getSource()
    • getDamage

      public float getDamage()
    • isCombatRelated

      public boolean isCombatRelated()
    • getLocation

      @Nullable public String getLocation()
    • getAttackerName

      @Nullable public ITextComponent getAttackerName()
    • getFallDistance

      public float getFallDistance()