Inventory item/block rendering code (hopefully)