Added apply and unapply methods to the Block trait to assist in conversions to and from Minecraft blocks.