net.minecraft.world.damagesource

public class CombatTracker

bav
net.minecraft.world.damagesource.CombatTracker
net.minecraft.class_1283
net.minecraft.entity.damage.DamageTracker
net.minecraft.src.C_488_
net.minecraft.world.damagesource.CombatTracker

Field summary

Modifier and TypeField
public static final int
a
RESET_DAMAGE_STATUS_TIME
field_29967
DAMAGE_COOLDOWN
f_146694_
public static final int
b
RESET_COMBAT_STATUS_TIME
field_29968
ATTACK_DAMAGE_COOLDOWN
f_146695_
private final List<CombatEntry>
c
entries
field_5870
recentDamage
f_19276_
private final LivingEntity
d
mob
field_5877
entity
f_19277_
private int
e
lastDamageTime
field_5876
ageOnLastDamage
f_19278_
private int
f
combatStartTime
field_5875
ageOnLastAttacked
f_19279_
private int
g
combatEndTime
field_5873
ageOnLastUpdate
f_19280_
private boolean
h
inCombat
field_5874
recentlyAttacked
f_19281_
private boolean
i
takingDamage
field_5872
hasDamage
f_19282_
private String
j
nextLocation
field_5871
fallDeathSuffix
f_19283_

Constructor summary

ModifierConstructor
public (LivingEntity entity)

Method summary

Modifier and TypeMethod
public void
a()
prepareForDamage()
method_5542()
setFallDeathSuffix()
m_19286_()
public void
a(baw 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 damage)
m_19289_(C_489_ p_19291_, float p_19292_, float arg2)
public Component
b()
getDeathMessage()
method_5548()
getDeathMessage()
m_19293_()
public LivingEntity
c()
getKiller()
method_5541()
getBiggestAttacker()
m_19294_()
private CombatEntry
k()
getMostSignificantFall()
method_5544()
getBiggestFall()
m_19298_()
private String
a(bat arg0)
getFallLocation(CombatEntry arg0)
method_5543(class_1281 arg0)
getFallDeathSuffix(DamageRecord damageRecord)
m_19287_(C_486_ arg0)
public boolean
d()
isTakingDamage()
method_35039()
hasDamage()
m_146696_()
public boolean
e()
isInCombat()
method_35040()
wasRecentlyAttacked()
m_146697_()
public int
f()
getCombatDuration()
method_5546()
getTimeSinceLastAttack()
m_19295_()
private void
l()
resetPreparedStatus()
method_5545()
clearFallDeathSuffix()
m_19299_()
public void
g()
recheckStatus()
method_5539()
update()
m_19296_()
public LivingEntity
h()
getMob()
method_5540()
getEntity()
m_19297_()
public CombatEntry
i()
getLastEntry()
method_35041()
getMostRecentDamage()
m_146698_()
public int
j()
getKillerId()
method_33937()
getBiggestAttackerId()
m_146699_()