    001    package cpw.mods.fml.common;
    002
    003    import java.util.Random;
    004
    005    import net.minecraft.src.ItemStack;
    006    import net.minecraft.src.World;
    007
    008    /**
    009     * @author cpw
    010     *
    011     */
    012    public interface IDispenserHandler
    013    {
    014        /**
    015         * Called to dispense an entity
    016         * @param x
    017         * @param y
    018         * @param z
    019         * @param xVelocity
    020         * @param zVelocity
    021         * @param world
    022         * @param item
    023         * @param random
    024         * @param entX
    025         * @param entY
    026         * @param entZ
    027         */
    028        int dispense(int x, int y, int z, int xVelocity, int zVelocity, World world, ItemStack item, Random random, double entX, double entY, double entZ);
    029    }