Class ProjectileDamageSource


public class ProjectileDamageSource extends EntityDamageSource
Mappings:
Namespace Name
official oy
intermediary net/minecraft/class_858
named net/minecraft/entity/damage/ProjectileDamageSource
  • Field Details

    • attacker

      private Entity attacker
      Mappings:
      Namespace Name Mixin selector
      official r Loy;r:Lpk;
      intermediary field_3149 Lnet/minecraft/class_858;field_3149:Lnet/minecraft/class_864;
      named attacker Lnet/minecraft/entity/damage/ProjectileDamageSource;attacker:Lnet/minecraft/entity/Entity;
  • Constructor Details

    • ProjectileDamageSource

      public ProjectileDamageSource(String name, Entity projectile, Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official <init> Loy;<init>(Ljava/lang/String;Lpk;Lpk;)V
      intermediary <init> Lnet/minecraft/class_858;<init>(Ljava/lang/String;Lnet/minecraft/class_864;Lnet/minecraft/class_864;)V
      named <init> Lnet/minecraft/entity/damage/ProjectileDamageSource;<init>(Ljava/lang/String;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
  • Method Details

    • getSource

      public Entity getSource()
      Overrides:
      getSource in class DamageSource
      Mappings:
      Namespace Name Mixin selector
      official i Low;i()Lpk;
      intermediary method_2424 Lnet/minecraft/class_856;method_2424()Lnet/minecraft/class_864;
      named getSource Lnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
    • getAttacker

      public Entity getAttacker()
      Overrides:
      getAttacker in class EntityDamageSource
      Mappings:
      Namespace Name Mixin selector
      official j Low;j()Lpk;
      intermediary method_2425 Lnet/minecraft/class_856;method_2425()Lnet/minecraft/class_864;
      named getAttacker Lnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
    • getDeathMessage

      public Text getDeathMessage(LivingEntity entity)
      Overrides:
      getDeathMessage in class EntityDamageSource
      Mappings:
      Namespace Name Mixin selector
      official b Low;b(Lpr;)Leu;
      intermediary method_6079 Lnet/minecraft/class_856;method_6079(Lnet/minecraft/class_1699;)Lnet/minecraft/class_1982;
      named getDeathMessage Lnet/minecraft/entity/damage/DamageSource;getDeathMessage(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;