net.minecraft.world.damagesource

public class CombatTracker

ahw
net.minecraft.world.damagesource.CombatTracker
net.minecraft.class_1283
net.minecraft.entity.damage.DamageTracker
net.minecraft.util.CombatTracker
net.minecraft.server.v1_14_R1.CombatTracker

Field summary

Modifier and TypeField
private final List<CombatEntry>
a
entries
field_5870
recentDamage
field_94556_a
private final LivingEntity
b
mob
field_5877
entity
field_94554_b
private int
c
lastDamageTime
field_5876
ageOnLastDamage
field_94555_c
private int
d
combatStartTime
field_5875
ageOnLastAttacked
field_152775_d
private int
e
combatEndTime
field_5873
ageOnLastUpdate
field_152776_e
private boolean
f
inCombat
field_5874
recentlyAttacked
field_94552_d
private boolean
g
takingDamage
field_5872
hasDamage
field_94553_e
private String
h
nextLocation
field_5871
fallDeathSuffix
field_94551_f

Constructor summary

ModifierConstructor
public (LivingEntity arg0)

Method summary

Modifier and TypeMethod
public void
a()
prepareForDamage()
method_5542()
setFallDeathSuffix()
func_94545_a()
public void
a(ahx arg0, float arg1, float arg2)
recordDamage(DamageSource arg0, float arg1, float arg2)
method_5547(class_1282 arg0, float arg1, float arg2)
onDamage(DamageSource damageSource, float originalHealth, float arg2)
func_94547_a(DamageSource arg0, float arg1, float arg2)
trackDamage(DamageSource arg0, float arg1, float arg2)
public Component
b()
getDeathMessage()
method_5548()
getDeathMessage()
func_151521_b()
getDeathMessage()
public LivingEntity
c()
getKiller()
method_5541()
getBiggestAttacker()
func_94550_c()
private CombatEntry
j()
getMostSignificantFall()
method_5544()
getBiggestFall()
func_94544_f()
private String
a(ahu arg0)
getFallLocation(CombatEntry arg0)
method_5543(class_1281 arg0)
getFallDeathSuffix(DamageRecord arg0)
func_94548_b(CombatEntry arg0)
public int
f()
getCombatDuration()
method_5546()
getTimeSinceLastAttack()
func_180134_f()
private void
k()
resetPreparedStatus()
method_5545()
clearFallDeathSuffix()
func_94542_g()
public void
g()
recheckStatus()
method_5539()
update()
func_94549_h()
public LivingEntity
h()
getMob()
method_5540()
getEntity()
func_180135_h()