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
public class ProjectileDamageSource extends EntityDamageSource
- Mappings:
Namespace Name official oyintermediary net/minecraft/class_1735named net/minecraft/entity/damage/ProjectileDamageSource
-
Field Summary
Fields Modifier and Type Field Description private Entityfield_7273Fields inherited from class net.minecraft.entity.damage.EntityDamageSource
field_7271Fields 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 Constructor Description ProjectileDamageSource(String string, Entity entity, Entity entity2) -
Method Summary
Modifier and Type Method Description EntitygetAttacker()EntitygetSource()Textmethod_6826(LivingEntity livingEntity)Methods inherited from class net.minecraft.entity.damage.EntityDamageSource
isScaledWithDifficulty, method_6846, method_6847Methods 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
-
field_7273
- Mappings:
Namespace Name Mixin selector official rLoy;r:Lpk;intermediary field_7273Lnet/minecraft/class_1735;field_7273:Lnet/minecraft/class_1745;named field_7273Lnet/minecraft/entity/damage/ProjectileDamageSource;field_7273:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
ProjectileDamageSource
-
-
Method Details
-
getSource
- Overrides:
getSourcein classDamageSource- Mappings:
Namespace Name Mixin selector official iLow;i()Lpk;intermediary method_6833Lnet/minecraft/class_1733;method_6833()Lnet/minecraft/class_1745;named getSourceLnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
-
getAttacker
- Overrides:
getAttackerin classEntityDamageSource- Mappings:
Namespace Name Mixin selector official jLow;j()Lpk;intermediary method_6834Lnet/minecraft/class_1733;method_6834()Lnet/minecraft/class_1745;named getAttackerLnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
method_6826
- Overrides:
method_6826in classEntityDamageSource- Mappings:
Namespace Name Mixin selector official bLow;b(Lpr;)Leu;intermediary method_6826Lnet/minecraft/class_1733;method_6826(Lnet/minecraft/class_1752;)Lnet/minecraft/class_1444;named method_6826Lnet/minecraft/entity/damage/DamageSource;method_6826(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
-