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