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