getTagFromItemStack?

Also, why all the newlines after the method heads/if,for statements?