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