    001package net.minecraft.tileentity;
    002
    003import net.minecraft.inventory.IInventory;
    004import net.minecraft.world.World;
    005
    006public interface Hopper extends IInventory
    007{
    008    /**
    009     * Returns the worldObj for this tileEntity.
    010     */
    011    World getWorldObj();
    012
    013    /**
    014     * Gets the world X position for this hopper entity.
    015     */
    016    double getXPos();
    017
    018    /**
    019     * Gets the world Y position for this hopper entity.
    020     */
    021    double getYPos();
    022
    023    /**
    024     * Gets the world Z position for this hopper entity.
    025     */
    026    double getZPos();
    027}