Package net.minecraft.entity.damage
Class ProjectileDamageSource
java.lang.Object
net.minecraft.entity.damage.DamageSource
net.minecraft.entity.damage.EntityDamageSource
net.minecraft.entity.damage.ProjectileDamageSource
- Mappings:
Namespace Name official wjintermediary net/minecraft/class_858named net/minecraft/entity/damage/ProjectileDamageSource
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.damage.EntityDamageSource
sourceFields 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
Methods inherited from class net.minecraft.entity.damage.EntityDamageSource
isScaledWithDifficulty, isThorns, setThornsMethods inherited from class net.minecraft.entity.damage.DamageSource
arrow, bypassesArmor, explosion, fire, getExhaustion, getMagic, getName, isExplosive, isFire, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, player, setBypassesArmor, setExplosive, setFire, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, thorns, thrownProjectile
-
Field Details
-
attacker
- Mappings:
Namespace Name Mixin selector official rLwj;r:Lwv;intermediary field_3149Lnet/minecraft/class_858;field_3149:Lnet/minecraft/class_864;named attackerLnet/minecraft/entity/damage/ProjectileDamageSource;attacker:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
ProjectileDamageSource
- Mappings:
Namespace Name Mixin selector official <init>Lwj;<init>(Ljava/lang/String;Lwv;Lwv;)Vintermediary <init>Lnet/minecraft/class_858;<init>(Ljava/lang/String;Lnet/minecraft/class_864;Lnet/minecraft/class_864;)Vnamed <init>Lnet/minecraft/entity/damage/ProjectileDamageSource;<init>(Ljava/lang/String;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
getSource
- Overrides:
getSourcein classDamageSource- Mappings:
Namespace Name Mixin selector official iLwh;i()Lwv;intermediary method_2424Lnet/minecraft/class_856;method_2424()Lnet/minecraft/class_864;named getSourceLnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
-
getAttacker
- Overrides:
getAttackerin classEntityDamageSource- Mappings:
Namespace Name Mixin selector official jLwh;j()Lwv;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 classEntityDamageSource- Mappings:
Namespace Name Mixin selector official bLwh;b(Lxm;)Lho;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;
-