/*
 * 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.tileentity;

import org.spongepowered.api.block.tileentity.Sign;
import org.spongepowered.api.data.manipulator.DataManipulator;
import org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData;
import org.spongepowered.api.data.value.mutable.ListValue;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.text.Text;

import java.util.List;

/**
 * An {@link DataManipulator} handling the {@link List} of
 * {@link Text} showing up on a {@link Sign} to a {@link Player}.
 */
public interface SignData extends DataManipulator<SignData, ImmutableSignData> {

    /**
     * Gets the {@link ListValue} of {@link Text} for the {@link Sign}
     * to show.
     *
     * @return The list of text lines
     */
    ListValue<Text> lines();


}

@@ -1630,16 +1630,116 @@
 Player;%0A
+import org.spongepowered.api.item.ItemTypes;%0Aimport org.spongepowered.api.item.inventory.ItemStack;%0A
 import o
@@ -1924,16 +1924,292 @@
 layer%7D.%0A
+ *%0A * %3Cp%3EIn Vanilla, this is always applicable to a %7B@link Sign%7D, which%0A * always has lines present (even if they are empty). It may be present%0A * on an %7B@link ItemStack%7D of %7B@link ItemTypes#SIGN%7D, depending on whether%0A * the %7B@link ItemStack%7D has sign data stored in it.%3C/p%3E%0A
  */%0Apubl

Update SignData javadocs to describe when it is present