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 rdintermediary net/minecraft/class_857named net/minecraft/entity/damage/EntityDamageSource
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.damage.DamageSource
ANVIL, CACTUS, DRAGON_BREATH, DROWN, FALL, FALLING_BLOCK, FIRE, FLY_INTO_WALL, 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, explosion, fire, getExhaustion, getMagic, getName, getSource, isExplosive, isFire, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, mobProjectile, player, setBypassesArmor, setExplosive, setFire, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, thorns, thrownProjectile
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector official sLrd;s:Lrr;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 tLrd;t: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>Lrd;<init>(Ljava/lang/String;Lrr;)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 wLrd;w()Lrd;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 xLrd;x()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 jLrc;j()Lrr;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 cLrc;c(Lsa;)Lew;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 rLrc;r()Zintermediary method_2432Lnet/minecraft/class_856;method_2432()Znamed isScaledWithDifficultyLnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
-
getPosition
- Overrides:
getPositionin classDamageSource- Mappings:
Namespace Name Mixin selector official vLrc;v()Lbbh;intermediary method_12941Lnet/minecraft/class_856;method_12941()Lnet/minecraft/class_236;named getPositionLnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;
-