public class CombatEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
damage |
private DamageSource |
damageSrc |
private float |
fallDistance |
private java.lang.String |
field_94566_e |
private int |
field_94567_b |
private float |
health |
Constructor and Description |
---|
CombatEntry(DamageSource damageSrcIn,
int p_i1564_2_,
float healthAmount,
float damageAmount,
java.lang.String p_i1564_5_,
float fallDistanceIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
func_94562_g() |
float |
func_94563_c() |
float |
getDamageAmount() |
DamageSource |
getDamageSrc()
Get the DamageSource of the CombatEntry instance.
|
IChatComponent |
getDamageSrcDisplayName() |
boolean |
isLivingDamageSrc()
Returns true if
damage source is a living entity |
private final DamageSource damageSrc
private final int field_94567_b
private final float damage
private final float health
private final java.lang.String field_94566_e
private final float fallDistance
public CombatEntry(DamageSource damageSrcIn, int p_i1564_2_, float healthAmount, float damageAmount, java.lang.String p_i1564_5_, float fallDistanceIn)
public DamageSource getDamageSrc()
public float func_94563_c()
public boolean isLivingDamageSrc()
damage source
is a living entitypublic java.lang.String func_94562_g()
public IChatComponent getDamageSrcDisplayName()
public float getDamageAmount()