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()
Returns EntityLivingBase assigned for this CombatTracker
|
void |
reset()
Resets this trackers list of combat entries
|
void |
trackDamage(DamageSource damageSrc,
float healthIn,
float damageAmount)
Adds an entry for the combat tracker
|
public CombatTracker(EntityLivingBase fighterIn)
public void calculateFallSuffix()
public void trackDamage(DamageSource damageSrc, float healthIn, float damageAmount)
public ITextComponent getDeathMessage()
public EntityLivingBase getBestAttacker()
public int getCombatDuration()
public void reset()
public EntityLivingBase getFighter()