Class PositionedDamageSource

java.lang.Object
net.minecraft.entity.damage.DamageSource
net.minecraft.entity.damage.PositionedDamageSource
Direct Known Subclasses:
BadRespawnPointDamageSource

public class PositionedDamageSource extends DamageSource
Mappings:
Namespace Name
official bdc
intermediary net/minecraft/class_7835
named net/minecraft/entity/damage/PositionedDamageSource
  • Field Details

    • pos

      private final Vec3d pos
      Mappings:
      Namespace Name Mixin selector
      official w Lbdc;w:Leae;
      intermediary field_40729 Lnet/minecraft/class_7835;field_40729:Lnet/minecraft/class_243;
      named pos Lnet/minecraft/entity/damage/PositionedDamageSource;pos:Lnet/minecraft/util/math/Vec3d;
  • Constructor Details

    • PositionedDamageSource

      public PositionedDamageSource(String name, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdc;<init>(Ljava/lang/String;Leae;)V
      intermediary <init> Lnet/minecraft/class_7835;<init>(Ljava/lang/String;Lnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/entity/damage/PositionedDamageSource;<init>(Ljava/lang/String;Lnet/minecraft/util/math/Vec3d;)V
  • Method Details

    • getPosition

      public Vec3d getPosition()
      Overrides:
      getPosition in class DamageSource
      Mappings:
      Namespace Name Mixin selector
      official D Lbcz;D()Leae;
      intermediary method_5510 Lnet/minecraft/class_1282;method_5510()Lnet/minecraft/class_243;
      named getPosition Lnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;