/*
 * This file is part of Sponge, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered.org <http://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.world.extent;

import com.flowpowered.math.vector.Vector3i;
import com.google.common.base.Optional;
import com.google.common.base.Predicate;
import org.spongepowered.api.block.tile.TileEntity;
import org.spongepowered.api.world.Location;

import java.util.Collection;

/**
 * A block volume that also contains {@link TileEntity} instances.
 */
public interface TileEntityVolume extends BlockVolume {

    /**
     * Return a collection of tile entities contained within this volume,
     * possibly only returning tile entities only in loaded areas.
     *
     * <p>For world implementations, only some parts of the world is usually
     * loaded, so this method will only return tile entities within those loaded
     * parts.</p>
     *
     * @return A collection of entities
     */
    Collection<TileEntity> getTileEntities();

    /**
     * Return a collection of tile entities contained within this volume,
     * possibly only returning tile entities only in loaded areas. The returned
     * tile entities are filtered by the given {@link Predicate} before being
     * returned.
     *
     * <p>For world implementations, only some parts of the world is usually
     * loaded, so this method will only return tile entities within those loaded
     * parts.</p>
     *
     * @param filter The filter to apply to the returned entities
     * @return A collection of filtered entities
     */
    Collection<TileEntity> getTileEntities(Predicate<TileEntity> filter);

    /**
     * Gets the tile entity at the given position, if it exists.
     *
     * @param position The position
     * @return The tile entity, or {@link Optional#absent()}
     */
    Optional<TileEntity> getTileEntity(Vector3i position);

    /**
     * Get the tile entity at the given position, if it exists.
     *
     * @param x The X position
     * @param y The Y position
     * @param z The Z position
     * @return The tile entity, or {@link Optional#absent()}
     */
    Optional<TileEntity> getTileEntity(int x, int y, int z);

    /**
     * Get the tile entity at the block in the given location, if it exists.
     *
     * @param blockLoc The block position
     * @return The tile entity, or {@link Optional#absent()}
     */
    Optional<TileEntity> getTileEntity(Location blockLoc);

}

@@ -3565,10 +3565,141 @@
 kLoc);%0A%0A
+    /**%0A     * Checks if this is a flowerpot.%0A     *%0A     * @return Whether this is a flowerpot%0A     */%0A    boolean isFlowerPot();%0A
 %7D%0A

Add isFlowerPot.