A small debugging tool in mod form that adds two commands which can be used to get info about items and blocks. The info is printed to the server console.
/dumpitemdata: select the item on your hotbar and run the command.
/dumpblockdata: run the command and right-click on the block.

