Package net.minecraft.entity.damage
Class DamageTracker
java.lang.Object
net.minecraft.entity.damage.DamageTracker
- Mappings:
Namespace Name official bhl
intermediary net/minecraft/class_1283
named net/minecraft/entity/damage/DamageTracker
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
static final int
static final int
private final LivingEntity
private boolean
private static final Style
private final List<DamageRecord>
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Text
getAttackedFallDeathMessage
(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey) private @Nullable DamageRecord
private static @Nullable Text
getDisplayName
(@Nullable Entity entity) private Text
getFallDeathMessage
(DamageRecord damageRecord, @Nullable Entity attacker) int
private static boolean
isAttackerLiving
(DamageSource damageSource) void
onDamage
(DamageSource damageSource, float damage) void
update()
-
Field Details
-
DAMAGE_COOLDOWN
public static final int DAMAGE_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a:I
intermediary field_29967
Lnet/minecraft/class_1283;field_29967:I
named DAMAGE_COOLDOWN
Lnet/minecraft/entity/damage/DamageTracker;DAMAGE_COOLDOWN:I
-
ATTACK_DAMAGE_COOLDOWN
public static final int ATTACK_DAMAGE_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbhl;b:I
intermediary field_29968
Lnet/minecraft/class_1283;field_29968:I
named ATTACK_DAMAGE_COOLDOWN
Lnet/minecraft/entity/damage/DamageTracker;ATTACK_DAMAGE_COOLDOWN:I
-
INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE
- Mappings:
Namespace Name Mixin selector official c
Lbhl;c:Luh;
intermediary field_42274
Lnet/minecraft/class_1283;field_42274:Lnet/minecraft/class_2583;
named INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE
Lnet/minecraft/entity/damage/DamageTracker;INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE:Lnet/minecraft/text/Style;
-
recentDamage
- Mappings:
Namespace Name Mixin selector official d
Lbhl;d:Ljava/util/List;
intermediary field_5870
Lnet/minecraft/class_1283;field_5870:Ljava/util/List;
named recentDamage
Lnet/minecraft/entity/damage/DamageTracker;recentDamage:Ljava/util/List;
-
entity
- Mappings:
Namespace Name Mixin selector official e
Lbhl;e:Lbjg;
intermediary field_5877
Lnet/minecraft/class_1283;field_5877:Lnet/minecraft/class_1309;
named entity
Lnet/minecraft/entity/damage/DamageTracker;entity:Lnet/minecraft/entity/LivingEntity;
-
ageOnLastDamage
private int ageOnLastDamage- Mappings:
Namespace Name Mixin selector official f
Lbhl;f:I
intermediary field_5876
Lnet/minecraft/class_1283;field_5876:I
named ageOnLastDamage
Lnet/minecraft/entity/damage/DamageTracker;ageOnLastDamage:I
-
ageOnLastAttacked
private int ageOnLastAttacked- Mappings:
Namespace Name Mixin selector official g
Lbhl;g:I
intermediary field_5875
Lnet/minecraft/class_1283;field_5875:I
named ageOnLastAttacked
Lnet/minecraft/entity/damage/DamageTracker;ageOnLastAttacked:I
-
ageOnLastUpdate
private int ageOnLastUpdate- Mappings:
Namespace Name Mixin selector official h
Lbhl;h:I
intermediary field_5873
Lnet/minecraft/class_1283;field_5873:I
named ageOnLastUpdate
Lnet/minecraft/entity/damage/DamageTracker;ageOnLastUpdate:I
-
recentlyAttacked
private boolean recentlyAttacked- Mappings:
Namespace Name Mixin selector official i
Lbhl;i:Z
intermediary field_5874
Lnet/minecraft/class_1283;field_5874:Z
named recentlyAttacked
Lnet/minecraft/entity/damage/DamageTracker;recentlyAttacked:Z
-
hasDamage
private boolean hasDamage- Mappings:
Namespace Name Mixin selector official j
Lbhl;j:Z
intermediary field_5872
Lnet/minecraft/class_1283;field_5872:Z
named hasDamage
Lnet/minecraft/entity/damage/DamageTracker;hasDamage:Z
-
-
Constructor Details
-
DamageTracker
- Mappings:
Namespace Name Mixin selector official <init>
Lbhl;<init>(Lbjg;)V
intermediary <init>
Lnet/minecraft/class_1283;<init>(Lnet/minecraft/class_1309;)V
named <init>
Lnet/minecraft/entity/damage/DamageTracker;<init>(Lnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
onDamage
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbho;F)V
intermediary method_5547
Lnet/minecraft/class_1283;method_5547(Lnet/minecraft/class_1282;F)V
named onDamage
Lnet/minecraft/entity/damage/DamageTracker;onDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
isAttackerLiving
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbho;)Z
intermediary method_52191
Lnet/minecraft/class_1283;method_52191(Lnet/minecraft/class_1282;)Z
named isAttackerLiving
Lnet/minecraft/entity/damage/DamageTracker;isAttackerLiving(Lnet/minecraft/entity/damage/DamageSource;)Z
-
getAttackedFallDeathMessage
private Text getAttackedFallDeathMessage(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey) - Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbiq;Ltl;Ljava/lang/String;Ljava/lang/String;)Ltl;
intermediary method_52193
Lnet/minecraft/class_1283;method_52193(Lnet/minecraft/class_1297;Lnet/minecraft/class_2561;Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_2561;
named getAttackedFallDeathMessage
Lnet/minecraft/entity/damage/DamageTracker;getAttackedFallDeathMessage(Lnet/minecraft/entity/Entity;Lnet/minecraft/text/Text;Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/text/Text;
-
getFallDeathMessage
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbhj;Lbiq;)Ltl;
intermediary method_52190
Lnet/minecraft/class_1283;method_52190(Lnet/minecraft/class_1281;Lnet/minecraft/class_1297;)Lnet/minecraft/class_2561;
named getFallDeathMessage
Lnet/minecraft/entity/damage/DamageTracker;getFallDeathMessage(Lnet/minecraft/entity/damage/DamageRecord;Lnet/minecraft/entity/Entity;)Lnet/minecraft/text/Text;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbiq;)Ltl;
intermediary method_52192
Lnet/minecraft/class_1283;method_52192(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/entity/damage/DamageTracker;getDisplayName(Lnet/minecraft/entity/Entity;)Lnet/minecraft/text/Text;
-
getDeathMessage
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a()Ltl;
intermediary method_5548
Lnet/minecraft/class_1283;method_5548()Lnet/minecraft/class_2561;
named getDeathMessage
Lnet/minecraft/entity/damage/DamageTracker;getDeathMessage()Lnet/minecraft/text/Text;
-
getBiggestFall
- Mappings:
Namespace Name Mixin selector official d
Lbhl;d()Lbhj;
intermediary method_5544
Lnet/minecraft/class_1283;method_5544()Lnet/minecraft/class_1281;
named getBiggestFall
Lnet/minecraft/entity/damage/DamageTracker;getBiggestFall()Lnet/minecraft/entity/damage/DamageRecord;
-
getTimeSinceLastAttack
public int getTimeSinceLastAttack()- Mappings:
Namespace Name Mixin selector official b
Lbhl;b()I
intermediary method_5546
Lnet/minecraft/class_1283;method_5546()I
named getTimeSinceLastAttack
Lnet/minecraft/entity/damage/DamageTracker;getTimeSinceLastAttack()I
-
update
public void update()- Mappings:
Namespace Name Mixin selector official c
Lbhl;c()V
intermediary method_5539
Lnet/minecraft/class_1283;method_5539()V
named update
Lnet/minecraft/entity/damage/DamageTracker;update()V
-