/*
 * This file is part of SpongeAPI, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.data.manipulator.mutable;

import com.flowpowered.math.vector.Vector3d;
import org.spongepowered.api.data.manipulator.DataManipulator;
import org.spongepowered.api.data.manipulator.immutable.ImmutableTargetedLocationData;
import org.spongepowered.api.data.value.mutable.Value;
import org.spongepowered.api.entity.projectile.EnderPearl;
import org.spongepowered.api.item.ItemTypes;
import org.spongepowered.api.item.inventory.ItemStack;

/**
 * An {@link DataManipulator} handling the supposed targeted {@link Vector3d}.
 *
 * <p>Usually for the case of {@link EnderPearl}s, the targeted {@link Vector3d}
 * is where the {@link EnderPearl} will move towards until it's expiration time.
 * In the case of {@link ItemStack}s of type {@link ItemTypes#COMPASS}, the
 * targeted {@link Vector3d} is where the compass will point towards.</p>
 */
public interface TargetedLocationData extends DataManipulator<TargetedLocationData, ImmutableTargetedLocationData> {

    /**
     * Gets the {@link Value} for the targeted {@link Vector3d}.
     *
     * @return The value for the targeted location
     */
    Value<Vector3d> target();

}

@@ -1591,29 +1591,146 @@
 ity.
-projectile.EnderPearl
+living.player.Player;%0Aimport org.spongepowered.api.entity.projectile.EnderPearl;%0Aimport org.spongepowered.api.entity.projectile.EyeOfEnder
 ;%0Aim
@@ -1879,16 +1879,9 @@
 the 
-supposed
+a
  tar
@@ -1937,24 +1937,26 @@
 case of 
+a 
 %7B@link E
 nderPear
@@ -1951,19 +1951,18 @@
 nk E
-nderPearl%7Ds
+yeOfEnder%7D
 , th
@@ -2013,25 +2013,25 @@
 %7B@link E
-nderPearl
+yeOfEnder
 %7D will m
@@ -2054,9 +2054,8 @@
 l it
-'
 s ex
@@ -2069,16 +2069,19 @@
 n time.%0A
+ *%0A
  * In th
@@ -2094,68 +2094,29 @@
  of 
-%7B@link ItemStack%7Ds of type %7B@link ItemTypes#COMPASS
+a %7B@link Player
 %7D, the
-%0A *
  tar
@@ -2147,19 +2147,22 @@
 s where 
-the
+any%0A *
  compass
@@ -2166,26 +2166,139 @@
 ass 
-will point towards
+seen by the player will point towards. Note that it is not possible%0A * to set the target of an individual compass %7B@link ItemStack%7D
 .%3C/p

Fix incorrect javadocs for TargetedLocationData