// Path: src/main/java/cn/mccraft/chinacraft/init/CCCreativeTabs.java
// public interface CCCreativeTabs {
//     CreativeTabs tabCore = new CreativeTabs(ChinaCraft.MODID + "Core") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCBlocks.COPPER_ORE);
//         }
//     };
// 
//     CreativeTabs tabMaterials = new CreativeTabs(ChinaCraft.MODID + "Materials") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCItems.BRONZE_INGOT);
//         }
//     };
// 
//     CreativeTabs tabSilkworm = new CreativeTabs(ChinaCraft.MODID + "Silkworm") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             ItemStack stack = new ItemStack(CCItems.SILK);
//             stack.getCapability(CCCapabilities.ITEM_STACK_COLORABLE_CAPABILITY, null).setColor(EnumDyeColor.WHITE.func_176768_e().colorValue);
//             return stack;
//         }
//     };
// 
//     CreativeTabs tabPlant = new CreativeTabs(ChinaCraft.MODID + "Plant") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCBlocks.AZALEA);
//         }
//     };
// }


import cn.mccraft.chinacraft.init.CCCreativeTabs;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
package cn.mccraft.chinacraft.block;


/**
 * Base block of ChinaCraft.
 * Extend this block in your own blocks.
 * ChinaCraft基础方块类，请在你的自定义方块中继承该类。
 */
public class BlockCCBase extends Block{

    public BlockCCBase(Material materialIn) {
        this(materialIn, materialIn.getMaterialMapColor());
    }

    public BlockCCBase(Material materialIn, MapColor blockMapColorIn) {
        super(materialIn,blockMapColorIn);
// Path: src/main/java/cn/mccraft/chinacraft/init/CCCreativeTabs.java
// public interface CCCreativeTabs {
//     CreativeTabs tabCore = new CreativeTabs(ChinaCraft.MODID + "Core") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCBlocks.COPPER_ORE);
//         }
//     };
// 
//     CreativeTabs tabMaterials = new CreativeTabs(ChinaCraft.MODID + "Materials") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCItems.BRONZE_INGOT);
//         }
//     };
// 
//     CreativeTabs tabSilkworm = new CreativeTabs(ChinaCraft.MODID + "Silkworm") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             ItemStack stack = new ItemStack(CCItems.SILK);
//             stack.getCapability(CCCapabilities.ITEM_STACK_COLORABLE_CAPABILITY, null).setColor(EnumDyeColor.WHITE.func_176768_e().colorValue);
//             return stack;
//         }
//     };
// 
//     CreativeTabs tabPlant = new CreativeTabs(ChinaCraft.MODID + "Plant") {
//         @Nonnull
//         @Override
//         public ItemStack getTabIconItem() {
//             return new ItemStack(CCBlocks.AZALEA);
//         }
//     };
// }


// Path: src/main/java/cn/mccraft/chinacraft/block/BlockCCBase.java
import cn.mccraft.chinacraft.init.CCCreativeTabs;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;

package cn.mccraft.chinacraft.block;


/**
 * Base block of ChinaCraft.
 * Extend this block in your own blocks.
 * ChinaCraft基础方块类，请在你的自定义方块中继承该类。
 */
public class BlockCCBase extends Block{

    public BlockCCBase(Material materialIn) {
        this(materialIn, materialIn.getMaterialMapColor());
    }

    public BlockCCBase(Material materialIn, MapColor blockMapColorIn) {
        super(materialIn,blockMapColorIn);
        setCreativeTab(CCCreativeTabs.tabCore);