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