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
-
Field Summary
Fields Modifier and Type Field Description private Entityentityprivate booleanuseEyeHeight -
Constructor Summary
Constructors Constructor Description EntityLookTarget(Entity entity, boolean useEyeHeight) -
Method Summary
Modifier and Type Method Description BlockPosgetBlockPos()Vec3dgetPos()booleanisSeenBy(LivingEntity entity)StringtoString()
-
Field Details
-
entity
-
useEyeHeight
private final boolean useEyeHeight
-
-
Constructor Details
-
EntityLookTarget
-
-
Method Details
-
getPos
- Specified by:
getPosin interfaceLookTarget
-
getBlockPos
- Specified by:
getBlockPosin interfaceLookTarget
-
isSeenBy
- Specified by:
isSeenByin interfaceLookTarget
-
toString
-