I am currently making a mod which is taking the block that a user sees and uses that to give the user an item. I have understood how to get the coords for the block in question, and how to get the ID of this block in question via the iblockstate.getBlock() method, but I can't for the life of me figure out how this is supposed to be done with meta data. So, my question is, How do I get a blocks meta data value using the coordinates of the block in question?
Thanks in advance!
AlvinB