Package net.minecraft.entity.damage
Class EntityDamageSource
java.lang.Object
net.minecraft.entity.damage.DamageSource
net.minecraft.entity.damage.EntityDamageSource
- Direct Known Subclasses:
ProjectileDamageSource
- Mappings:
Namespace Name official oxintermediary net/minecraft/class_857named net/minecraft/entity/damage/EntityDamageSource
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.damage.DamageSource
ANVIL, CACTUS, DROWN, FALL, FALLING_BLOCK, FIRE, GENERIC, IN_WALL, LAVA, LIGHTNING_BOLT, MAGIC, name, ON_FIRE, OUT_OF_WORLD, STARVE, WITHER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeathMessage(LivingEntity entity) booleanbooleanisThorns()Methods inherited from class net.minecraft.entity.damage.DamageSource
arrow, bypassesArmor, explosion, fire, getExhaustion, getMagic, getName, getSource, isExplosive, isFire, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, player, setBypassesArmor, setExplosive, setFire, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, thorns, thrownProjectile
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector official qLox;q:Lpk;intermediary field_3148Lnet/minecraft/class_857;field_3148:Lnet/minecraft/class_864;named sourceLnet/minecraft/entity/damage/EntityDamageSource;source:Lnet/minecraft/entity/Entity;
-
thorns
private boolean thorns- Mappings:
Namespace Name Mixin selector official rLox;r:Zintermediary field_11889Lnet/minecraft/class_857;field_11889:Znamed thornsLnet/minecraft/entity/damage/EntityDamageSource;thorns:Z
-
-
Constructor Details
-
EntityDamageSource
- Mappings:
Namespace Name Mixin selector official <init>Lox;<init>(Ljava/lang/String;Lpk;)Vintermediary <init>Lnet/minecraft/class_857;<init>(Ljava/lang/String;Lnet/minecraft/class_864;)Vnamed <init>Lnet/minecraft/entity/damage/EntityDamageSource;<init>(Ljava/lang/String;Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
setThorns
- Mappings:
Namespace Name Mixin selector official vLox;v()Lox;intermediary method_10919Lnet/minecraft/class_857;method_10919()Lnet/minecraft/class_857;named setThornsLnet/minecraft/entity/damage/EntityDamageSource;setThorns()Lnet/minecraft/entity/damage/EntityDamageSource;
-
isThorns
public boolean isThorns()- Mappings:
Namespace Name Mixin selector official wLox;w()Zintermediary method_10920Lnet/minecraft/class_857;method_10920()Znamed isThornsLnet/minecraft/entity/damage/EntityDamageSource;isThorns()Z
-
getAttacker
- Overrides:
getAttackerin classDamageSource- Mappings:
Namespace Name Mixin selector official jLow;j()Lpk;intermediary method_2425Lnet/minecraft/class_856;method_2425()Lnet/minecraft/class_864;named getAttackerLnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
getDeathMessage
- Overrides:
getDeathMessagein classDamageSource- Mappings:
Namespace Name Mixin selector official bLow;b(Lpr;)Leu;intermediary method_6079Lnet/minecraft/class_856;method_6079(Lnet/minecraft/class_1699;)Lnet/minecraft/class_1982;named getDeathMessageLnet/minecraft/entity/damage/DamageSource;getDeathMessage(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
-
isScaledWithDifficulty
public boolean isScaledWithDifficulty()- Overrides:
isScaledWithDifficultyin classDamageSource- Mappings:
Namespace Name Mixin selector official rLow;r()Zintermediary method_2432Lnet/minecraft/class_856;method_2432()Znamed isScaledWithDifficultyLnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
-