package net.shadowfacts.zcraft.gui;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.shadowfacts.zcraft.item.ZItems;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class ZCreativeTabs {
	
	public static CreativeTabs tabZCore = new CreativeTabs("ZCraftCore") {
		@Override
		@SideOnly(Side.CLIENT)
		public ItemStack getIconItemStack() {
			return new ItemStack(ZItems.greenZinchoriumGem, 1);
		}
	};
	
	public static CreativeTabs tabZMachines = new CreativeTabs("ZCraftMachines") {
		@Override
		@SideOnly(Side.CLIENT)
		public ItemStack getIconItemStack() {
			return new ItemStack(Block.furnaceBurning, 1);
		}
	};
	
	public static CreativeTabs tabZTools = new CreativeTabs("ZCraftTools") {
		@Override
		@SideOnly(Side.CLIENT)
		public ItemStack getIconItemStack() {
			return new ItemStack(ZItems.zinchoriumPickaxe, 1);
		}
	};
	
}

@@ -111,16 +111,82 @@
 veTabs;%0A
+import net.minecraft.init.Blocks;%0Aimport net.minecraft.item.Item;%0A
 import n
@@ -210,24 +210,24 @@
 .ItemStack;%0A
-
 import net.s
@@ -489,33 +489,31 @@
 lic Item
-Stack
  get
+Tab
 IconItem
 Stack() 
@@ -496,37 +496,32 @@
 m getTabIconItem
-Stack
 () %7B%0A%09%09%09return n
@@ -515,38 +515,24 @@
 %7B%0A%09%09%09return 
-new ItemStack(
 ZItems.green
@@ -544,20 +544,16 @@
 oriumGem
-, 1)
 ;%0A%09%09%7D%0A%09%7D
@@ -686,33 +686,31 @@
 lic Item
-Stack
  get
+Tab
 IconItem
 Stack() 
@@ -693,37 +693,32 @@
 m getTabIconItem
-Stack
 () %7B%0A%09%09%09return n
@@ -720,27 +720,35 @@
 urn 
-new ItemSta
+Item.getItemFromBlo
 ck(Block
 .fur
@@ -747,16 +747,17 @@
 lock
+s
 .furnace
 Burn
@@ -756,18 +756,8 @@
 nace
-Burning, 1
 );%0A%09
@@ -893,25 +893,23 @@
 Item
-Stack
  get
+Tab
 IconItem
 Stac
@@ -904,21 +904,16 @@
 IconItem
-Stack
 () %7B%0A%09%09%09
@@ -923,22 +923,8 @@
 urn 
-new ItemStack(
 ZIte
@@ -940,19 +940,13 @@
 rium
-Pickaxe, 1)
+Sword
 ;%0A%09%09

Update ZCreativeTabs for 1.7.10