The barrier potential of a $p-n$ junction is influenced by several factors. Let's analyze the factors listed in the question:
Considering the above points, it is evident that all three factors—type of semiconductor material, amount of doping, and temperature—affect the barrier potential of a $p-n$ junction.
Therefore, the correct answer is: (1), (2) and (3).

