package net.qbar.common;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;

public class CustomCreativeTab extends CreativeTabs
{
    public CustomCreativeTab(final String label)
    {
        super(label);
    }

    @Override
    public ItemStack getTabIconItem()
    {
        return new ItemStack(Blocks.PISTON, 1, 0);
    }
}

@@ -92,18 +92,21 @@
 ft.i
-nit.Blo
+tem.ItemSta
 ck
-s
 ;%0Aim
@@ -118,32 +118,35 @@
 net.
-minecraft.item.ItemSta
+qbar.common.init.QBarBlo
 ck
+s
 ;%0A%0Ap
@@ -373,27 +373,23 @@
 ack(
+QBar
 Blocks.
-PISTON, 1, 0
+BELT
 );%0A 

Change creative tab icon