Hwyla mod will allow you to get information about most of the blocks in the game. To do this, just hover over them. It is useful not only for novice players, but also for experienced users, as it is compatible with many mods. In a small window, the name, ID, and other useful information will be displayed. There is also an Hwyla version for Forge that works with a wide range of Minecraft versions.