@SuppressWarnings({"rawtypes", "unchecked"})
 @Override
 @SideOnly(Side.CLIENT)
 public void getSubBlocks(int id, CreativeTabs tab, List itemList) {
   for (final BlockType blockType : BlockType.values())
     itemList.add(new ItemStack(this, 1, blockType.metadata()));
 }
 @SuppressWarnings({"rawtypes", "unchecked"})
 @Override
 public void addCreativeItems(ArrayList itemList) {
   for (final BlockType blockType : BlockType.values())
     itemList.add(new ItemStack(this, 1, blockType.metadata()));
 }