How do I get modded item/block IDs?

Is there any way to get the name ID for mod items? I have no idea how to do it at the moment, and I have tried the name with all the capital letter and underscore combinations I could try, can you please help?


Solution 1:

You can press F3 + H which will enable tooltips. You can now hover over an item or block to see its id.