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 bdb
intermediary net/minecraft/class_1284
named net/minecraft/entity/damage/ProjectileDamageSource
-
Field Summary
Fields inherited from class net.minecraft.entity.damage.EntityDamageSource
source
Fields 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
ConstructorDescriptionProjectileDamageSource
(String name, Entity projectile, @Nullable Entity attacker) -
Method Summary
Methods inherited from class net.minecraft.entity.damage.EntityDamageSource
getPosition, isScaledWithDifficulty, isThorns, setThorns, toString
Methods inherited from class net.minecraft.entity.damage.DamageSource
anvil, arrow, badRespawnPoint, bypassesArmor, bypassesProtection, explosion, explosion, fallingBlock, fallingStalactite, fireball, firework, getExhaustion, getName, 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
-
attacker
- Mappings:
Namespace Name Mixin selector official x
Lbdb;x:Lbdr;
intermediary field_40728
Lnet/minecraft/class_1284;field_40728:Lnet/minecraft/class_1297;
named attacker
Lnet/minecraft/entity/damage/ProjectileDamageSource;attacker:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
ProjectileDamageSource
- Mappings:
Namespace Name Mixin selector official <init>
Lbdb;<init>(Ljava/lang/String;Lbdr;Lbdr;)V
intermediary <init>
Lnet/minecraft/class_1284;<init>(Ljava/lang/String;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
named <init>
Lnet/minecraft/entity/damage/ProjectileDamageSource;<init>(Ljava/lang/String;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
getSource
- Overrides:
getSource
in classDamageSource
- Mappings:
Namespace Name Mixin selector official k
Lbcz;k()Lbdr;
intermediary method_5526
Lnet/minecraft/class_1282;method_5526()Lnet/minecraft/class_1297;
named getSource
Lnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
-
getAttacker
- Overrides:
getAttacker
in classEntityDamageSource
- Mappings:
Namespace Name Mixin selector official l
Lbcz;l()Lbdr;
intermediary method_5529
Lnet/minecraft/class_1282;method_5529()Lnet/minecraft/class_1297;
named getAttacker
Lnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
getDeathMessage
- Overrides:
getDeathMessage
in classEntityDamageSource
- Mappings:
Namespace Name Mixin selector official a
Lbcz;a(Lbeg;)Lss;
intermediary method_5506
Lnet/minecraft/class_1282;method_5506(Lnet/minecraft/class_1309;)Lnet/minecraft/class_2561;
named getDeathMessage
Lnet/minecraft/entity/damage/DamageSource;getDeathMessage(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
-