Metadata sensitive version of consumeInventoryItem

Consumes correct version of blocks that use metadata, such as cloth,
clay, etc.