net.minecraft.world.damagesource

public class CombatTracker

btx
net.minecraft.world.damagesource.CombatTracker
net.minecraft.class_1283
net.minecraft.unmapped.C_xkhemiqp
net.minecraft.entity.damage.DamageTracker
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
f_bmzihlfm
DAMAGE_COOLDOWN
RESET_DAMAGE_STATUS_TIME
f_146694_
public static final int
b
RESET_COMBAT_STATUS_TIME
field_29968
f_zctpfvgy
ATTACK_DAMAGE_COOLDOWN
RESET_COMBAT_STATUS_TIME
f_146695_
private static final Style
c
INTENTIONAL_GAME_DESIGN_STYLE
field_42274
f_bbxvtwjo
INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE
INTENTIONAL_GAME_DESIGN_STYLE
f_268553_
private final List<CombatEntry>
d
entries
field_5870
f_nhhmqupb
recentDamage
recentDamage
f_19276_
private final LivingEntity
e
mob
field_5877
f_dykivusd
entity
entity
f_19277_
private int
f
lastDamageTime
field_5876
f_ypqtbbxz
ageOnLastDamage
ageOnLastDamage
f_19278_
private int
g
combatStartTime
field_5875
f_iqitjhoz
ageOnLastAttacked
ageOnLastAttacked
f_19279_
private int
h
combatEndTime
field_5873
f_mgocdmug
ageOnLastUpdate
ageOnLastUpdate
f_19280_
private boolean
i
inCombat
field_5874
f_mstsxzzl
recentlyAttacked
recentlyAttacked
f_19281_
private boolean
j
takingDamage
field_5872
f_xguwhgie
hasDamage
hasDamage
f_19282_

Constructor summary

ModifierConstructor
public (LivingEntity entity)

Method summary

Modifier and TypeMethod
public void
a(bua arg0, float arg1)
recordDamage(DamageSource arg0, float arg1)
method_5547(class_1282 arg0, float arg1)
m_hhqevfbq(C_sbxfkpyv arg0, float arg1)
onDamage(DamageSource damageSource, float damage)
onDamage(DamageSource damageSource, float originalHealth)
m_289194_(C_489_ p_289559_, float arg1)
private static boolean
a(bua arg0)
shouldEnterCombat(DamageSource arg0)
method_52191(class_1282 arg0)
m_ufintojk(C_sbxfkpyv arg0)
isAttackerLiving(DamageSource damageSource)
isAttackerLiving(DamageSource damageSource)
m_289225_(C_489_ p_289554_)
private Component
a(bvk arg0, xv arg1, String arg2, String arg3)
getMessageForAssistedFall(Entity arg0, Component arg1, String arg2, String arg3)
method_52193(class_1297 arg0, class_2561 arg1, String arg2, String arg3)
m_lagkuzok(C_astfners arg0, C_rdaqiwdt arg1, String arg2, String arg3)
getAttackedFallDeathMessage(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey)
formatDeathMessage(Entity entity, Text displayName, String customItemTranslationKey, String baseTranslationKey)
m_289206_(C_507_ p_289532_, C_4996_ p_289555_, String p_289548_, String arg3)
private Component
a(btv arg0, bvk arg1)
getFallMessage(CombatEntry arg0, Entity arg1)
method_52190(class_1281 arg0, class_1297 arg1)
m_xfvrnbnv(C_opjrpnsy arg0, C_astfners arg1)
getFallDeathMessage(DamageRecord damageRecord, Entity attacker)
getFallingDeathMessage(DamageRecord damage, Entity entity)
m_289215_(C_486_ p_289561_, C_507_ arg1)
private static Component
a(bvk arg0)
getDisplayName(Entity arg0)
method_52192(class_1297 arg0)
m_aqadbgjd(C_astfners arg0)
getDisplayName(Entity entity)
getDisplayName(Entity entity)
m_289212_(C_507_ p_289557_)
public Component
a()
getDeathMessage()
method_5548()
m_xmrbfkiy()
getDeathMessage()
getDeathMessage()
m_19293_()
private CombatEntry
d()
getMostSignificantFall()
method_5544()
m_lwhoscrp()
getBiggestFall()
getBiggestFall()
m_19298_()
public int
b()
getCombatDuration()
method_5546()
m_clcglqfv()
getTimeSinceLastAttack()
getTimeSinceLastAttack()
m_19295_()
public void
c()
recheckStatus()
method_5539()
m_dnjsampl()
update()
update()
m_19296_()