Package net.minecraft.entity.damage
Class DamageTracker
java.lang.Object
net.minecraft.entity.damage.DamageTracker
- Mappings:
Namespace Name official bejintermediary net/minecraft/class_1283named net/minecraft/entity/damage/DamageTracker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intstatic final intstatic final intprivate final LivingEntityprivate booleanprivate static final Styleprivate final List<DamageRecord>private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidintGets the Entity ID of the biggest attackerprivate @Nullable DamageRecordprivate StringgetFallDeathSuffix(DamageRecord damageRecord) intbooleanvoidonDamage(DamageSource damageSource, float originalHealth, float damage) voidvoidupdate()boolean
-
Field Details
-
DAMAGE_COOLDOWN
public static final int DAMAGE_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official aLbej;a:Iintermediary field_29967Lnet/minecraft/class_1283;field_29967:Inamed DAMAGE_COOLDOWNLnet/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 bLbej;b:Iintermediary field_29968Lnet/minecraft/class_1283;field_29968:Inamed ATTACK_DAMAGE_COOLDOWNLnet/minecraft/entity/damage/DamageTracker;ATTACK_DAMAGE_COOLDOWN:I
-
INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE
- Mappings:
Namespace Name Mixin selector official cLbej;c:Lts;intermediary field_42274Lnet/minecraft/class_1283;field_42274:Lnet/minecraft/class_2583;named INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLELnet/minecraft/entity/damage/DamageTracker;INTENTIONAL_GAME_DESIGN_ISSUE_LINK_STYLE:Lnet/minecraft/text/Style;
-
recentDamage
- Mappings:
Namespace Name Mixin selector official dLbej;d:Ljava/util/List;intermediary field_5870Lnet/minecraft/class_1283;field_5870:Ljava/util/List;named recentDamageLnet/minecraft/entity/damage/DamageTracker;recentDamage:Ljava/util/List;
-
entity
- Mappings:
Namespace Name Mixin selector official eLbej;e:Lbfx;intermediary field_5877Lnet/minecraft/class_1283;field_5877:Lnet/minecraft/class_1309;named entityLnet/minecraft/entity/damage/DamageTracker;entity:Lnet/minecraft/entity/LivingEntity;
-
ageOnLastDamage
private int ageOnLastDamage- Mappings:
Namespace Name Mixin selector official fLbej;f:Iintermediary field_5876Lnet/minecraft/class_1283;field_5876:Inamed ageOnLastDamageLnet/minecraft/entity/damage/DamageTracker;ageOnLastDamage:I
-
ageOnLastAttacked
private int ageOnLastAttacked- Mappings:
Namespace Name Mixin selector official gLbej;g:Iintermediary field_5875Lnet/minecraft/class_1283;field_5875:Inamed ageOnLastAttackedLnet/minecraft/entity/damage/DamageTracker;ageOnLastAttacked:I
-
ageOnLastUpdate
private int ageOnLastUpdate- Mappings:
Namespace Name Mixin selector official hLbej;h:Iintermediary field_5873Lnet/minecraft/class_1283;field_5873:Inamed ageOnLastUpdateLnet/minecraft/entity/damage/DamageTracker;ageOnLastUpdate:I
-
recentlyAttacked
private boolean recentlyAttacked- Mappings:
Namespace Name Mixin selector official iLbej;i:Zintermediary field_5874Lnet/minecraft/class_1283;field_5874:Znamed recentlyAttackedLnet/minecraft/entity/damage/DamageTracker;recentlyAttacked:Z
-
hasDamage
private boolean hasDamage- Mappings:
Namespace Name Mixin selector official jLbej;j:Zintermediary field_5872Lnet/minecraft/class_1283;field_5872:Znamed hasDamageLnet/minecraft/entity/damage/DamageTracker;hasDamage:Z
-
fallDeathSuffix
- Mappings:
Namespace Name Mixin selector official kLbej;k:Ljava/lang/String;intermediary field_5871Lnet/minecraft/class_1283;field_5871:Ljava/lang/String;named fallDeathSuffixLnet/minecraft/entity/damage/DamageTracker;fallDeathSuffix:Ljava/lang/String;
-
-
Constructor Details
-
DamageTracker
- Mappings:
Namespace Name Mixin selector official <init>Lbej;<init>(Lbfx;)Vintermediary <init>Lnet/minecraft/class_1283;<init>(Lnet/minecraft/class_1309;)Vnamed <init>Lnet/minecraft/entity/damage/DamageTracker;<init>(Lnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
setFallDeathSuffix
public void setFallDeathSuffix()- Mappings:
Namespace Name Mixin selector official aLbej;a()Vintermediary method_5542Lnet/minecraft/class_1283;method_5542()Vnamed setFallDeathSuffixLnet/minecraft/entity/damage/DamageTracker;setFallDeathSuffix()V
-
onDamage
- Mappings:
Namespace Name Mixin selector official aLbej;a(Lbem;FF)Vintermediary method_5547Lnet/minecraft/class_1283;method_5547(Lnet/minecraft/class_1282;FF)Vnamed onDamageLnet/minecraft/entity/damage/DamageTracker;onDamage(Lnet/minecraft/entity/damage/DamageSource;FF)V
-
getDeathMessage
- Mappings:
Namespace Name Mixin selector official bLbej;b()Lsw;intermediary method_5548Lnet/minecraft/class_1283;method_5548()Lnet/minecraft/class_2561;named getDeathMessageLnet/minecraft/entity/damage/DamageTracker;getDeathMessage()Lnet/minecraft/text/Text;
-
getBiggestAttacker
- Mappings:
Namespace Name Mixin selector official cLbej;c()Lbfx;intermediary method_5541Lnet/minecraft/class_1283;method_5541()Lnet/minecraft/class_1309;named getBiggestAttackerLnet/minecraft/entity/damage/DamageTracker;getBiggestAttacker()Lnet/minecraft/entity/LivingEntity;
-
getBiggestFall
- Mappings:
Namespace Name Mixin selector official kLbej;k()Lbeh;intermediary method_5544Lnet/minecraft/class_1283;method_5544()Lnet/minecraft/class_1281;named getBiggestFallLnet/minecraft/entity/damage/DamageTracker;getBiggestFall()Lnet/minecraft/entity/damage/DamageRecord;
-
getFallDeathSuffix
- Mappings:
Namespace Name Mixin selector official aLbej;a(Lbeh;)Ljava/lang/String;intermediary method_5543Lnet/minecraft/class_1283;method_5543(Lnet/minecraft/class_1281;)Ljava/lang/String;named getFallDeathSuffixLnet/minecraft/entity/damage/DamageTracker;getFallDeathSuffix(Lnet/minecraft/entity/damage/DamageRecord;)Ljava/lang/String;
-
hasDamage
public boolean hasDamage()- Mappings:
Namespace Name Mixin selector official dLbej;d()Zintermediary method_35039Lnet/minecraft/class_1283;method_35039()Znamed hasDamageLnet/minecraft/entity/damage/DamageTracker;hasDamage()Z
-
wasRecentlyAttacked
public boolean wasRecentlyAttacked()- Mappings:
Namespace Name Mixin selector official eLbej;e()Zintermediary method_35040Lnet/minecraft/class_1283;method_35040()Znamed wasRecentlyAttackedLnet/minecraft/entity/damage/DamageTracker;wasRecentlyAttacked()Z
-
getTimeSinceLastAttack
public int getTimeSinceLastAttack()- Mappings:
Namespace Name Mixin selector official fLbej;f()Iintermediary method_5546Lnet/minecraft/class_1283;method_5546()Inamed getTimeSinceLastAttackLnet/minecraft/entity/damage/DamageTracker;getTimeSinceLastAttack()I
-
clearFallDeathSuffix
private void clearFallDeathSuffix()- Mappings:
Namespace Name Mixin selector official lLbej;l()Vintermediary method_5545Lnet/minecraft/class_1283;method_5545()Vnamed clearFallDeathSuffixLnet/minecraft/entity/damage/DamageTracker;clearFallDeathSuffix()V
-
update
public void update()- Mappings:
Namespace Name Mixin selector official gLbej;g()Vintermediary method_5539Lnet/minecraft/class_1283;method_5539()Vnamed updateLnet/minecraft/entity/damage/DamageTracker;update()V
-
getEntity
- Mappings:
Namespace Name Mixin selector official hLbej;h()Lbfx;intermediary method_5540Lnet/minecraft/class_1283;method_5540()Lnet/minecraft/class_1309;named getEntityLnet/minecraft/entity/damage/DamageTracker;getEntity()Lnet/minecraft/entity/LivingEntity;
-
getMostRecentDamage
- Mappings:
Namespace Name Mixin selector official iLbej;i()Lbeh;intermediary method_35041Lnet/minecraft/class_1283;method_35041()Lnet/minecraft/class_1281;named getMostRecentDamageLnet/minecraft/entity/damage/DamageTracker;getMostRecentDamage()Lnet/minecraft/entity/damage/DamageRecord;
-
getBiggestAttackerId
public int getBiggestAttackerId()Gets the Entity ID of the biggest attacker- See Also:
- Mappings:
Namespace Name Mixin selector official jLbej;j()Iintermediary method_33937Lnet/minecraft/class_1283;method_33937()Inamed getBiggestAttackerIdLnet/minecraft/entity/damage/DamageTracker;getBiggestAttackerId()I
-