// Path: src/main/java/oceania/Oceania.java
// @Mod(name = "Oceania", modid = Oceania.MOD_ID, version = Oceania.VERSION)
// @SandstoneMod(basePackage = "oceania")
// public class Oceania {
// 	
// 	public static final String MOD_NAME = "Oceania";
// 	public static final String MOD_ID = "oceania";
// 	public static final String VERSION = "1.1.0";
// 	
// 	@Instance(Oceania.MOD_ID)
// 	public static Oceania INSTANCE;
// 	
// 	@SidedProxy(clientSide = "oceania.client.ClientProxy", serverSide = "oceania.common.CommonProxy")
// 	public static CommonProxy PROXY;
// 	
// 	public static Config CONFIG;
// 	public static CreativeTabOceania TAB;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		CONFIG = Config.toml(new File(event.getModConfigurationDirectory(), Oceania.MOD_ID + ".toml"));
// 		Oceania.PROXY.init();		
// 	}
// 	
// }
// 
// Path: src/main/java/oceania/util/IconRegistry.java
// public class IconRegistry {
// 	
// 	public static Map<String, IIcon> ICONS = new HashMap<String, IIcon>();
// 	
// 	public static boolean hasIcon(String value) {
// 		return ICONS.containsKey(value);
// 	}
// 	
// 	public static void setIcon(String value, IIcon icon)  {
// 		ICONS.put(value, icon);
// 	}
// 	
// 	public static IIcon getIcon(String value) {
// 		return ICONS.get(value);
// 	}
// 
// }
// 
// Path: src/main/java/oceania/util/OUtil.java
// public class OUtil {
// 	public static final float	PI_OVER_180	= (float) Math.PI / 180.0f;
// 	public static final String	COLOR_CODE	= "\u00A7";
// 	
// 	public static String colorString(String input) {
// 		return input.replaceAll("&&", COLOR_CODE);
// 	}
// 	
// 	@SideOnly(Side.CLIENT)
// 	public static void bindTexture(ResourceLocation textureLocation)
// 	{
// 		Minecraft.getMinecraft().getTextureManager().bindTexture(textureLocation);
// 	}
// 	
// 	public static Side getSide()
// 	{
// 		return FMLCommonHandler.instance().getEffectiveSide();
// 	}
// }


import java.util.HashMap;
import java.util.List;
import org.lwjgl.input.Keyboard;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import oceania.Oceania;
import oceania.util.IconRegistry;
import oceania.util.OUtil;
import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
		super(par1);
		setCreativeTab(Oceania.CREATIVE_TAB);
		this.hasSubtypes = true;
		for(ItemMultiType multiType : ItemMultiType.values()) 
		{
			LanguageRegistry.instance().addStringLocalization("item.sub." + multiType.getUnlocalizedName() + ".name", multiType.getLocalizedName());
		}
	}
	
	@Override
	@SideOnly(Side.CLIENT)
    public String getUnlocalizedName(ItemStack stack) 
	{
		return "item.sub." + ItemMultiType.values()[stack.getItemDamage()].getUnlocalizedName();
	}
	
	@Override
	@SideOnly(Side.CLIENT)
	public void registerIcons(IconRegister registry)
	{
		for(int index = 0; index < ItemMultiType.values().length; index++) 
		{
			IconRegistry.setIcon(ItemMultiType.values()[index].getUnlocalizedName(), registry.registerIcon(Oceania.MOD_ID + ":" + ItemMultiType.values()[index].getUnlocalizedName()));
		}
	}
	
	@Override
	@SideOnly(Side.CLIENT)
    public Icon getIconFromDamage(int meta)
	{
// Path: src/main/java/oceania/Oceania.java
// @Mod(name = "Oceania", modid = Oceania.MOD_ID, version = Oceania.VERSION)
// @SandstoneMod(basePackage = "oceania")
// public class Oceania {
// 	
// 	public static final String MOD_NAME = "Oceania";
// 	public static final String MOD_ID = "oceania";
// 	public static final String VERSION = "1.1.0";
// 	
// 	@Instance(Oceania.MOD_ID)
// 	public static Oceania INSTANCE;
// 	
// 	@SidedProxy(clientSide = "oceania.client.ClientProxy", serverSide = "oceania.common.CommonProxy")
// 	public static CommonProxy PROXY;
// 	
// 	public static Config CONFIG;
// 	public static CreativeTabOceania TAB;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		CONFIG = Config.toml(new File(event.getModConfigurationDirectory(), Oceania.MOD_ID + ".toml"));
// 		Oceania.PROXY.init();		
// 	}
// 	
// }
// 
// Path: src/main/java/oceania/util/IconRegistry.java
// public class IconRegistry {
// 	
// 	public static Map<String, IIcon> ICONS = new HashMap<String, IIcon>();
// 	
// 	public static boolean hasIcon(String value) {
// 		return ICONS.containsKey(value);
// 	}
// 	
// 	public static void setIcon(String value, IIcon icon)  {
// 		ICONS.put(value, icon);
// 	}
// 	
// 	public static IIcon getIcon(String value) {
// 		return ICONS.get(value);
// 	}
// 
// }
// 
// Path: src/main/java/oceania/util/OUtil.java
// public class OUtil {
// 	public static final float	PI_OVER_180	= (float) Math.PI / 180.0f;
// 	public static final String	COLOR_CODE	= "\u00A7";
// 	
// 	public static String colorString(String input) {
// 		return input.replaceAll("&&", COLOR_CODE);
// 	}
// 	
// 	@SideOnly(Side.CLIENT)
// 	public static void bindTexture(ResourceLocation textureLocation)
// 	{
// 		Minecraft.getMinecraft().getTextureManager().bindTexture(textureLocation);
// 	}
// 	
// 	public static Side getSide()
// 	{
// 		return FMLCommonHandler.instance().getEffectiveSide();
// 	}
// }


// Path: src/main/java/oceania/items/ItemMulti.java
import java.util.HashMap;
import java.util.List;
import org.lwjgl.input.Keyboard;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import oceania.Oceania;
import oceania.util.IconRegistry;
import oceania.util.OUtil;
import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

		super(par1);
		setCreativeTab(Oceania.CREATIVE_TAB);
		this.hasSubtypes = true;
		for(ItemMultiType multiType : ItemMultiType.values()) 
		{
			LanguageRegistry.instance().addStringLocalization("item.sub." + multiType.getUnlocalizedName() + ".name", multiType.getLocalizedName());
		}
	}
	
	@Override
	@SideOnly(Side.CLIENT)
    public String getUnlocalizedName(ItemStack stack) 
	{
		return "item.sub." + ItemMultiType.values()[stack.getItemDamage()].getUnlocalizedName();
	}
	
	@Override
	@SideOnly(Side.CLIENT)
	public void registerIcons(IconRegister registry)
	{
		for(int index = 0; index < ItemMultiType.values().length; index++) 
		{
			IconRegistry.setIcon(ItemMultiType.values()[index].getUnlocalizedName(), registry.registerIcon(Oceania.MOD_ID + ":" + ItemMultiType.values()[index].getUnlocalizedName()));
		}
	}
	
	@Override
	@SideOnly(Side.CLIENT)
    public Icon getIconFromDamage(int meta)
	{
		return IconRegistry.getIcon(ItemMultiType.values()[meta].getUnlocalizedName());