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
named net/minecraft/entity/ai/brain/EntityLookTarget
intermediary net/minecraft/class_4102
official bvv
  • Field Details

    • entity

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

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

    • EntityLookTarget

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

    • getPos

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object