Class EntityLookTarget

java.lang.Object
net.minecraft.entity.ai.brain.EntityLookTarget
All Implemented Interfaces:
LookTarget

public class EntityLookTarget extends Object implements LookTarget
Mappings:
Namespace Name
official bic
intermediary net/minecraft/class_4102
named net/minecraft/entity/ai/brain/EntityLookTarget
  • Field Details

    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbic;a:Lbfj;
      intermediary field_18342 Lnet/minecraft/class_4102;field_18342:Lnet/minecraft/class_1297;
      named entity Lnet/minecraft/entity/ai/brain/EntityLookTarget;entity:Lnet/minecraft/entity/Entity;
    • useEyeHeight

      private final boolean useEyeHeight
      Mappings:
      Namespace Name Mixin selector
      official b Lbic;b:Z
      intermediary field_24382 Lnet/minecraft/class_4102;field_24382:Z
      named useEyeHeight Lnet/minecraft/entity/ai/brain/EntityLookTarget;useEyeHeight:Z
  • Constructor Details

    • EntityLookTarget

      public EntityLookTarget(Entity entity, boolean useEyeHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbic;<init>(Lbfj;Z)V
      intermediary <init> Lnet/minecraft/class_4102;<init>(Lnet/minecraft/class_1297;Z)V
      named <init> Lnet/minecraft/entity/ai/brain/EntityLookTarget;<init>(Lnet/minecraft/entity/Entity;Z)V
  • Method Details

    • getPos

      public Vec3d getPos()
      Specified by:
      getPos in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a()Leei;
      intermediary method_18991 Lnet/minecraft/class_4115;method_18991()Lnet/minecraft/class_243;
      named getPos Lnet/minecraft/entity/ai/brain/LookTarget;getPos()Lnet/minecraft/util/math/Vec3d;
    • getBlockPos

      public BlockPos getBlockPos()
      Specified by:
      getBlockPos in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official b Lbje;b()Lgu;
      intermediary method_18989 Lnet/minecraft/class_4115;method_18989()Lnet/minecraft/class_2338;
      named getBlockPos Lnet/minecraft/entity/ai/brain/LookTarget;getBlockPos()Lnet/minecraft/util/math/BlockPos;
    • isSeenBy

      public boolean isSeenBy(LivingEntity entity)
      Specified by:
      isSeenBy in interface LookTarget
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Lbfz;)Z
      intermediary method_18990 Lnet/minecraft/class_4115;method_18990(Lnet/minecraft/class_1309;)Z
      named isSeenBy Lnet/minecraft/entity/ai/brain/LookTarget;isSeenBy(Lnet/minecraft/entity/LivingEntity;)Z
    • getEntity

      public Entity getEntity()
      Mappings:
      Namespace Name Mixin selector
      official c Lbic;c()Lbfj;
      intermediary method_35066 Lnet/minecraft/class_4102;method_35066()Lnet/minecraft/class_1297;
      named getEntity Lnet/minecraft/entity/ai/brain/EntityLookTarget;getEntity()Lnet/minecraft/entity/Entity;
    • toString

      public String toString()
      Overrides:
      toString in class Object