    001    package net.minecraft.src;
    002
    003    import net.minecraft.server.MinecraftServer;
    004
    005    public class BehaviorArrowDispense extends BehaviorProjectileDispense
    006    {
    007        /** Reference to the MinecraftServer object. */
    008        final MinecraftServer mcServer;
    009
    010        public BehaviorArrowDispense(MinecraftServer par1)
    011        {
    012            this.mcServer = par1;
    013        }
    014
    015        /**
    016         * Return the projectile entity spawned by this dispense behavior.
    017         */
    018        protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
    019        {
    020            EntityArrow var3 = new EntityArrow(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
    021            var3.canBePickedUp = 1;
    022            return var3;
    023        }
    024    }