Package net.minecraft.entity.ai.brain
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 atb
intermediary net/minecraft/class_4102
named net/minecraft/entity/ai/brain/EntityLookTarget
-
Field Summary
Fields Modifier and Type Field Description private Entity
entity
private boolean
useEyeHeight
-
Constructor Summary
Constructors Constructor Description EntityLookTarget(Entity entity, boolean useEyeHeight)
-
Method Summary
Modifier and Type Method Description BlockPos
getBlockPos()
Vec3d
getPos()
boolean
isSeenBy(LivingEntity entity)
String
toString()
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official a
Latb;a:Laqv;
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
Latb;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
- Mappings:
Namespace Name Mixin selector official <init>
Latb;<init>(Laqv;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
- Specified by:
getPos
in interfaceLookTarget
- Mappings:
Namespace Name Mixin selector official a
Laua;a()Ldiu;
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
- Specified by:
getBlockPos
in interfaceLookTarget
- Mappings:
Namespace Name Mixin selector official b
Laua;b()Lfx;
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
- Specified by:
isSeenBy
in interfaceLookTarget
- Mappings:
Namespace Name Mixin selector official a
Laua;a(Lari;)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
-
toString
-