public class CombatTracker
extends java.lang.Object
Constructor and Description |
---|
CombatTracker(EntityLivingBase fighterIn) |
Modifier and Type | Method and Description |
---|---|
void |
calculateFallSuffix() |
EntityLivingBase |
getBestAttacker() |
int |
getCombatDuration() |
ITextComponent |
getDeathMessage() |
EntityLivingBase |
getFighter() |
void |
reset() |
void |
trackDamage(DamageSource damageSrc,
float healthIn,
float damageAmount) |
public CombatTracker(EntityLivingBase fighterIn)
public void calculateFallSuffix()
public void trackDamage(DamageSource damageSrc, float healthIn, float damageAmount)
public ITextComponent getDeathMessage()
@Nullable public EntityLivingBase getBestAttacker()
public int getCombatDuration()
public void reset()
public EntityLivingBase getFighter()