Class EntityHitResult

java.lang.Object
net.minecraft.util.hit.HitResult
net.minecraft.util.hit.EntityHitResult

public class EntityHitResult extends HitResult
Mappings:
Namespace Name
named net/minecraft/util/hit/EntityHitResult
intermediary net/minecraft/class_3966
official ewt
  • Field Details

    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      named entity Lnet/minecraft/util/hit/EntityHitResult;entity:Lnet/minecraft/entity/Entity;
      intermediary field_17592 Lnet/minecraft/class_3966;field_17592:Lnet/minecraft/class_1297;
      official b Lewt;b:Lbsq;
  • Constructor Details

    • EntityHitResult

      public EntityHitResult(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/hit/EntityHitResult;<init>(Lnet/minecraft/entity/Entity;)V
      intermediary <init> Lnet/minecraft/class_3966;<init>(Lnet/minecraft/class_1297;)V
      official <init> Lewt;<init>(Lbsq;)V
    • EntityHitResult

      public EntityHitResult(Entity entity, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/hit/EntityHitResult;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
      intermediary <init> Lnet/minecraft/class_3966;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)V
      official <init> Lewt;<init>(Lbsq;Leww;)V
  • Method Details

    • getEntity

      public Entity getEntity()
      Mappings:
      Namespace Name Mixin selector
      named getEntity Lnet/minecraft/util/hit/EntityHitResult;getEntity()Lnet/minecraft/entity/Entity;
      intermediary method_17782 Lnet/minecraft/class_3966;method_17782()Lnet/minecraft/class_1297;
      official a Lewt;a()Lbsq;
    • getType

      public HitResult.Type getType()
      Specified by:
      getType in class HitResult
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/util/hit/HitResult;getType()Lnet/minecraft/util/hit/HitResult$Type;
      intermediary method_17783 Lnet/minecraft/class_239;method_17783()Lnet/minecraft/class_239$class_240;
      official c Lewu;c()Lewu$a;