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 LookTarget
public BlockPos getBlockPos()
getBlockPos
in interface LookTarget
public boolean isSeenBy(LivingEntity entity)
isSeenBy
in interface LookTarget