// Path: src/main/java/com/lordmau5/ffs/FancyFluidStorage.java
// @Mod(modid = FancyFluidStorage.MODID, name = "Fancy Fluid Storage", dependencies = "after:waila")
// public class FancyFluidStorage {
//     public static final String MODID = "ffs";
//     public static final TankManager tankManager = new TankManager();
//     public static Block blockFluidValve;
//     public static Block blockTankComputer;
//     public static Item itemTitEgg;
//     public static Item itemTit;
//     @Mod.Instance(MODID)
//     public static FancyFluidStorage INSTANCE;
// 
//     @SidedProxy(clientSide = "com.lordmau5.ffs.proxy.ClientProxy", serverSide = "com.lordmau5.ffs.proxy.CommonProxy")
//     private static IProxy PROXY;
// 
//     @SuppressWarnings("deprecation")
//     @Mod.EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         Compatibility.INSTANCE.init();
// 
//         ModBlocksAndItems.preInit(event);
// 
//         NetworkRegistry.INSTANCE.registerGuiHandler(FancyFluidStorage.INSTANCE, new GuiHandler());
//         NetworkHandler.registerChannels(event.getSide());
// 
//         TOPCompatibility.register();
// 
//         PROXY.preInit();
//     }
// 
//     @Mod.EventHandler
//     public void init(FMLInitializationEvent event) {
//         ModRecipes.init();
// 
//         PROXY.init(event);
//     }
// 
//     @Mod.EventHandler
//     public void postInit(FMLPostInitializationEvent event) {
//         GenericUtil.init();
// 
//         ForgeChunkManager.setForcedChunkLoadingCallback(INSTANCE, (tickets, world) -> {
//             if ( tickets != null && tickets.size() > 0 )
//                 GenericUtil.initChunkLoadTicket(world, tickets.get(0));
//         });
//     }
// 
//     @SubscribeEvent
//     public void onWorldUnload(WorldEvent.Unload event) {
//         if ( event.getWorld().isRemote ) {
//             FancyFluidStorage.tankManager.removeAllForDimension(event.getWorld().provider.getDimension());
//         }
//     }
// }


import com.lordmau5.ffs.FancyFluidStorage;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
package com.lordmau5.ffs.client;


/**
 * Created by Gigabit101 on 01/08/2017.
 */
public class CreativeTabFFS extends CreativeTabs {
    public static CreativeTabFFS INSTANCE = new CreativeTabFFS();

    public CreativeTabFFS() {
        super(FancyFluidStorage.MODID);
    }

    @Override
    public ItemStack createIcon() {
// Path: src/main/java/com/lordmau5/ffs/FancyFluidStorage.java
// @Mod(modid = FancyFluidStorage.MODID, name = "Fancy Fluid Storage", dependencies = "after:waila")
// public class FancyFluidStorage {
//     public static final String MODID = "ffs";
//     public static final TankManager tankManager = new TankManager();
//     public static Block blockFluidValve;
//     public static Block blockTankComputer;
//     public static Item itemTitEgg;
//     public static Item itemTit;
//     @Mod.Instance(MODID)
//     public static FancyFluidStorage INSTANCE;
// 
//     @SidedProxy(clientSide = "com.lordmau5.ffs.proxy.ClientProxy", serverSide = "com.lordmau5.ffs.proxy.CommonProxy")
//     private static IProxy PROXY;
// 
//     @SuppressWarnings("deprecation")
//     @Mod.EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         Compatibility.INSTANCE.init();
// 
//         ModBlocksAndItems.preInit(event);
// 
//         NetworkRegistry.INSTANCE.registerGuiHandler(FancyFluidStorage.INSTANCE, new GuiHandler());
//         NetworkHandler.registerChannels(event.getSide());
// 
//         TOPCompatibility.register();
// 
//         PROXY.preInit();
//     }
// 
//     @Mod.EventHandler
//     public void init(FMLInitializationEvent event) {
//         ModRecipes.init();
// 
//         PROXY.init(event);
//     }
// 
//     @Mod.EventHandler
//     public void postInit(FMLPostInitializationEvent event) {
//         GenericUtil.init();
// 
//         ForgeChunkManager.setForcedChunkLoadingCallback(INSTANCE, (tickets, world) -> {
//             if ( tickets != null && tickets.size() > 0 )
//                 GenericUtil.initChunkLoadTicket(world, tickets.get(0));
//         });
//     }
// 
//     @SubscribeEvent
//     public void onWorldUnload(WorldEvent.Unload event) {
//         if ( event.getWorld().isRemote ) {
//             FancyFluidStorage.tankManager.removeAllForDimension(event.getWorld().provider.getDimension());
//         }
//     }
// }


// Path: src/main/java/com/lordmau5/ffs/client/CreativeTabFFS.java
import com.lordmau5.ffs.FancyFluidStorage;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;

package com.lordmau5.ffs.client;


/**
 * Created by Gigabit101 on 01/08/2017.
 */
public class CreativeTabFFS extends CreativeTabs {
    public static CreativeTabFFS INSTANCE = new CreativeTabFFS();

    public CreativeTabFFS() {
        super(FancyFluidStorage.MODID);
    }

    @Override
    public ItemStack createIcon() {
        return new ItemStack(FancyFluidStorage.blockFluidValve);