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 bdnintermediary net/minecraft/class_1285named net/minecraft/entity/damage/EntityDamageSource
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.damage.DamageSource
CACTUS, CRAMMING, DRAGON_BREATH, DROWN, DRYOUT, FALL, FLY_INTO_WALL, FREEZE, GENERIC, HOT_FLOOR, IN_FIRE, IN_WALL, LAVA, LIGHTNING_BOLT, MAGIC, name, ON_FIRE, OUT_OF_WORLD, STALAGMITE, STARVE, SWEET_BERRY_BUSH, WITHER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeathMessage(LivingEntity entity) booleanbooleanisThorns()toString()Methods inherited from class net.minecraft.entity.damage.DamageSource
anvil, arrow, badRespawnPoint, bypassesArmor, bypassesProtection, explosion, explosion, fallingBlock, fallingStalactite, fireball, firework, getExhaustion, getName, getSource, isExplosive, isFallingBlock, isFire, isFromFalling, isMagic, isNeutral, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, mobProjectile, player, setBypassesArmor, setBypassesProtection, setExplosive, setFallingBlock, setFire, setFromFalling, setNeutral, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, sonicBoom, sting, thorns, thrownProjectile, trident, witherSkull
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector official wLbdn;w:Lbee;intermediary field_5879Lnet/minecraft/class_1285;field_5879:Lnet/minecraft/class_1297;named sourceLnet/minecraft/entity/damage/EntityDamageSource;source:Lnet/minecraft/entity/Entity;
-
thorns
private boolean thorns- Mappings:
Namespace Name Mixin selector official xLbdn;x:Zintermediary field_5880Lnet/minecraft/class_1285;field_5880:Znamed thornsLnet/minecraft/entity/damage/EntityDamageSource;thorns:Z
-
-
Constructor Details
-
EntityDamageSource
- Mappings:
Namespace Name Mixin selector official <init>Lbdn;<init>(Ljava/lang/String;Lbee;)Vintermediary <init>Lnet/minecraft/class_1285;<init>(Ljava/lang/String;Lnet/minecraft/class_1297;)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 ELbdn;E()Lbdn;intermediary method_5550Lnet/minecraft/class_1285;method_5550()Lnet/minecraft/class_1285;named setThornsLnet/minecraft/entity/damage/EntityDamageSource;setThorns()Lnet/minecraft/entity/damage/EntityDamageSource;
-
isThorns
public boolean isThorns()- Mappings:
Namespace Name Mixin selector official FLbdn;F()Zintermediary method_5549Lnet/minecraft/class_1285;method_5549()Znamed isThornsLnet/minecraft/entity/damage/EntityDamageSource;isThorns()Z
-
getAttacker
- Overrides:
getAttackerin classDamageSource- Mappings:
Namespace Name Mixin selector official lLbdm;l()Lbee;intermediary method_5529Lnet/minecraft/class_1282;method_5529()Lnet/minecraft/class_1297;named getAttackerLnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
getDeathMessage
- Overrides:
getDeathMessagein classDamageSource- Mappings:
Namespace Name Mixin selector official aLbdm;a(Lbet;)Lsu;intermediary method_5506Lnet/minecraft/class_1282;method_5506(Lnet/minecraft/class_1309;)Lnet/minecraft/class_2561;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 xLbdm;x()Zintermediary method_5514Lnet/minecraft/class_1282;method_5514()Znamed isScaledWithDifficultyLnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
-
getPosition
- Overrides:
getPositionin classDamageSource- Mappings:
Namespace Name Mixin selector official DLbdm;D()Leas;intermediary method_5510Lnet/minecraft/class_1282;method_5510()Lnet/minecraft/class_243;named getPositionLnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;
-
toString
- Overrides:
toStringin classDamageSource
-