public class EntityLookTarget extends Object implements LookTarget
| Constructor and Description |
|---|
EntityLookTarget(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getBlockPos() |
Vec3d |
getPos() |
boolean |
isSeenBy(LivingEntity entity) |
String |
toString() |
private final Entity entity
public EntityLookTarget(Entity entity)
public Vec3d getPos()
getPos in interface LookTargetpublic BlockPos getBlockPos()
getBlockPos in interface LookTargetpublic boolean isSeenBy(LivingEntity entity)
isSeenBy in interface LookTarget