public class BlockPosLookTarget extends Object implements LookTarget
Modifier and Type | Field and Description |
---|---|
private BlockPos |
blockPos |
private Vec3d |
pos |
Constructor and Description |
---|
BlockPosLookTarget(BlockPos blockPos) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getBlockPos() |
Vec3d |
getPos() |
boolean |
isSeenBy(LivingEntity entity) |
String |
toString() |
public BlockPosLookTarget(BlockPos blockPos)
public Vec3d getPos()
getPos
in interface LookTarget
public BlockPos getBlockPos()
getBlockPos
in interface LookTarget
public boolean isSeenBy(LivingEntity entity)
isSeenBy
in interface LookTarget