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 bdb
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 Lbdb;a:Lbaq;
      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 Lbdb;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> Lbdb;<init>(Lbaq;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 Lbef;a()Ldvt;
      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 Lbef;b()Lgt;
      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 Lbef;a(Lbbf;)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 Lbdb;c()Lbaq;
      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