So I have the answer to you all, you put the ingots on the anvil, then press z, select the top left icon (there will not be any visual signal that you have selected it) and once you done it, press z again to get rid of the menu and hammer the hammer out. Your welcome yall