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 rjintermediary 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, DRAGON_BREATH, DROWN, FALL, FALLING_BLOCK, FIRE, FLY_INTO_WALL, GENERIC, HOT_FLOOR, 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
getPosition, isScaledWithDifficulty, isThorns, setThornsMethods inherited from class net.minecraft.entity.damage.DamageSource
arrow, bypassesArmor, explosion, explosion, fire, getExhaustion, getMagic, getName, isExplosive, isFire, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, mobProjectile, player, setBypassesArmor, setExplosive, setFire, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, thorns, thrownProjectile
-
Field Details
-
attacker
- Mappings:
Namespace Name Mixin selector official uLrj;u:Lrw;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>Lrj;<init>(Ljava/lang/String;Lrw;Lrw;)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 iLrh;i()Lrw;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 jLrh;j()Lrw;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 cLrh;c(Lsf;)Ley;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;
-