Updated method names: getMetadata() & setMetadata() to getDamage() & setDamage() on Block and Item classes