public class CombatTracker
extends java.lang.Object
コンストラクタと説明 |
---|
CombatTracker(LivingEntity fighterIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
calculateFallSuffix() |
LivingEntity |
getBestAttacker() |
int |
getCombatDuration() |
ITextComponent |
getDeathMessage() |
LivingEntity |
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(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()