static class TeleportCommand.LookTarget extends Object
Modifier and Type | Field and Description |
---|---|
private Entity |
target |
private EntityAnchorArgumentType.EntityAnchor |
targetAnchor |
private Vec3d |
targetPos |
Constructor and Description |
---|
LookTarget(Entity target,
EntityAnchorArgumentType.EntityAnchor targetAnchor) |
LookTarget(Vec3d targetPos) |
private final Vec3d targetPos
private final Entity target
private final EntityAnchorArgumentType.EntityAnchor targetAnchor
public LookTarget(Entity target, EntityAnchorArgumentType.EntityAnchor targetAnchor)
public LookTarget(Vec3d targetPos)
public void look(ServerCommandSource source, Entity entity)