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 |
fallSuffix |
private float |
health |
private int |
time |
Constructor and Description |
---|
CombatEntry(DamageSource damageSrcIn,
int timeIn,
float healthAmount,
float damageAmount,
java.lang.String fallSuffixIn,
float fallDistanceIn) |
Modifier and Type | Method and Description |
---|---|
float |
getDamage() |
float |
getDamageAmount() |
DamageSource |
getDamageSrc() |
ITextComponent |
getDamageSrcDisplayName() |
java.lang.String |
getFallSuffix() |
boolean |
isLivingDamageSrc() |
private final DamageSource damageSrc
private final int time
private final float damage
private final float health
private final java.lang.String fallSuffix
private final float fallDistance
public CombatEntry(DamageSource damageSrcIn, int timeIn, float healthAmount, float damageAmount, java.lang.String fallSuffixIn, float fallDistanceIn)
public DamageSource getDamageSrc()
public float getDamage()
public boolean isLivingDamageSrc()
@Nullable public java.lang.String getFallSuffix()
@Nullable public ITextComponent getDamageSrcDisplayName()
public float getDamageAmount()