net.minecraft.world.damagesource

public class CombatTracker

bsz
net.minecraft.world.damagesource.CombatTracker
net.minecraft.class_1283
net.minecraft.entity.damage.DamageTracker
net.minecraft.world.damagesource.CombatTracker

Field summary

Modifier and TypeField
public static final int
a
RESET_DAMAGE_STATUS_TIME
field_29967
DAMAGE_COOLDOWN
public static final int
b
RESET_COMBAT_STATUS_TIME
field_29968
ATTACK_DAMAGE_COOLDOWN
private static final Style
c
INTENTIONAL_GAME_DESIGN_STYLE
field_42274
INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE
private final List<CombatEntry>
d
entries
field_5870
recentDamage
private final LivingEntity
e
mob
field_5877
entity
private int
f
lastDamageTime
field_5876
ageOnLastDamage
private int
g
combatStartTime
field_5875
ageOnLastAttacked
private int
h
combatEndTime
field_5873
ageOnLastUpdate
private boolean
i
inCombat
field_5874
recentlyAttacked
private boolean
j
takingDamage
field_5872
hasDamage

Constructor summary

ModifierConstructor
public (LivingEntity entity)

Method summary

Modifier and TypeMethod
public void
a(btc arg0, float arg1)
recordDamage(DamageSource arg0, float arg1)
method_5547(class_1282 arg0, float arg1)
onDamage(DamageSource damageSource, float damage)
private static boolean
a(btc arg0)
shouldEnterCombat(DamageSource arg0)
method_52191(class_1282 arg0)
isAttackerLiving(DamageSource damageSource)
private Component
a(bum arg0, wp 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)
getAttackedFallDeathMessage(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey)
private Component
a(bsx arg0, bum arg1)
getFallMessage(CombatEntry arg0, Entity arg1)
method_52190(class_1281 arg0, class_1297 arg1)
getFallDeathMessage(DamageRecord damageRecord, Entity attacker)
private static Component
a(bum arg0)
getDisplayName(Entity arg0)
method_52192(class_1297 arg0)
getDisplayName(Entity entity)
public Component
a()
getDeathMessage()
method_5548()
getDeathMessage()
private CombatEntry
d()
getMostSignificantFall()
method_5544()
getBiggestFall()
public int
b()
getCombatDuration()
method_5546()
getTimeSinceLastAttack()
public void
c()
recheckStatus()
method_5539()
update()