// Path: src/main/java/xilef11/mc/runesofwizardry_classics/integration/guideapi/GuideBookAdditions.java
// public class GuideBookAdditions {
// 	/**Add a few things to the entries created automatically by the base mod **/
// 	public static void handlePost(){
// 		Book book = GuideAPI.getBooks().get(WizardryGuide.LOCATION);
// 		//placeholder
// 		CategoryAbstract dusts = BookHelper.getCategoryFromName(book, WizardryGuide.CAT_LOC+CategoryDusts.NAME);
// 		EntryAbstract placeholders = BookHelper.getEntryFromName(dusts, CategoryDusts.ENTRY_KEY+"placeholders");
// 		placeholders.addPage(new PageItemStack(Refs.MODID+".guide.variabledust",new ItemStack(DustVariable.instance)));
// 		
// 		//spirit tools
// 		CategoryAbstract runes = BookHelper.getCategoryFromName(book,WizardryGuide.CAT_LOC+CategoryRunes.NAME); 
// 		EntryAbstract spiritTools = BookHelper.getEntryFromName(runes,Refs.Lang.RUNE+".spirittools");
// 		if(spiritTools!=null){
// 			spiritTools.addPage(new PageItemStack(Refs.MODID+".guide.spiritpick", ItemSpiritPickaxe.instance()));
// 			spiritTools.addPage(new PageItemStack(Refs.MODID+".guide.spiritsword", ItemSpiritSword.instance()));
// 		}
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/items/ClassicDusts.java
// public class ClassicDusts extends IDust {
// 	public static IDust instance;
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getDustName()
// 	 */
// 	@Override
// 	public String getDustName() {
// 		return "classic";
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getInfusionItems(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public ItemStack[] getInfusionItems(ItemStack arg0) {
// 		//custom crafting recipes
// 		return null;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getPrimaryColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getPrimaryColor(ItemStack stack) {
// 		//we can assume it is this item...
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).primaryColor;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getSecondaryColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getSecondaryColor(ItemStack stack) {
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).secondaryColor;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getPlacedColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getPlacedColor(ItemStack stack) {
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).floorColor;
// 	}
// 	private static int[] metaVals=null;
// 	@Override
// 	public int[] getMetaValues() {
// 		if(metaVals==null){
// 			EnumDustTypes vals[] = EnumDustTypes.values();
// 			metaVals = new int[vals.length];
// 			for(int i=0;i<vals.length;i++){
// 				metaVals[i]=vals[i].meta();
// 			}
// 		}
// 		return metaVals;
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/items/DustVariable.java
// public class DustVariable extends DustPlaceholder {
// 	public static DustVariable instance;
// 	/**
// 	 */
// 	public DustVariable() {
// 		super("variable", 0xb92db1, true);
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#dustsMatch(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public boolean dustsMatch(ItemStack thisDust, ItemStack other) {
// 		return other.getItem() == ClassicDusts.instance;
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/proxy/IProxy.java
// public interface IProxy {
// 	public void RegisterItemModel(Item item,int meta,String modelpath,String variant);
// }


import org.apache.logging.log4j.Logger;
import com.zpig333.runesofwizardry.api.DustRegistry;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import xilef11.mc.runesofwizardry_classics.integration.guideapi.GuideBookAdditions;
import xilef11.mc.runesofwizardry_classics.items.ClassicDusts;
import xilef11.mc.runesofwizardry_classics.items.DustVariable;
import xilef11.mc.runesofwizardry_classics.proxy.IProxy;
package xilef11.mc.runesofwizardry_classics;


//note: loading before a dependency causes a noclassdeffound outside of a dev environment
//@Mod(modid = Refs.MODID, version = Refs.VERSION, name=Refs.NAME, guiFactory=Refs.GUI_FACTORY, dependencies = "required-after:runesofwizardry@[1.12-0.8.3,)",acceptedMinecraftVersions = "[1.2,1.13)")
@Mod(modid = Refs.MODID, version = Refs.VERSION, name=Refs.NAME, guiFactory=Refs.GUI_FACTORY, dependencies = "required-after:runesofwizardry;after:guideapi")
public class RunesofWizardry_Classics
{
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/integration/guideapi/GuideBookAdditions.java
// public class GuideBookAdditions {
// 	/**Add a few things to the entries created automatically by the base mod **/
// 	public static void handlePost(){
// 		Book book = GuideAPI.getBooks().get(WizardryGuide.LOCATION);
// 		//placeholder
// 		CategoryAbstract dusts = BookHelper.getCategoryFromName(book, WizardryGuide.CAT_LOC+CategoryDusts.NAME);
// 		EntryAbstract placeholders = BookHelper.getEntryFromName(dusts, CategoryDusts.ENTRY_KEY+"placeholders");
// 		placeholders.addPage(new PageItemStack(Refs.MODID+".guide.variabledust",new ItemStack(DustVariable.instance)));
// 		
// 		//spirit tools
// 		CategoryAbstract runes = BookHelper.getCategoryFromName(book,WizardryGuide.CAT_LOC+CategoryRunes.NAME); 
// 		EntryAbstract spiritTools = BookHelper.getEntryFromName(runes,Refs.Lang.RUNE+".spirittools");
// 		if(spiritTools!=null){
// 			spiritTools.addPage(new PageItemStack(Refs.MODID+".guide.spiritpick", ItemSpiritPickaxe.instance()));
// 			spiritTools.addPage(new PageItemStack(Refs.MODID+".guide.spiritsword", ItemSpiritSword.instance()));
// 		}
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/items/ClassicDusts.java
// public class ClassicDusts extends IDust {
// 	public static IDust instance;
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getDustName()
// 	 */
// 	@Override
// 	public String getDustName() {
// 		return "classic";
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getInfusionItems(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public ItemStack[] getInfusionItems(ItemStack arg0) {
// 		//custom crafting recipes
// 		return null;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getPrimaryColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getPrimaryColor(ItemStack stack) {
// 		//we can assume it is this item...
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).primaryColor;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getSecondaryColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getSecondaryColor(ItemStack stack) {
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).secondaryColor;
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#getPlacedColor(net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public int getPlacedColor(ItemStack stack) {
// 		return EnumDustTypes.getByMeta(stack.getMetadata()).floorColor;
// 	}
// 	private static int[] metaVals=null;
// 	@Override
// 	public int[] getMetaValues() {
// 		if(metaVals==null){
// 			EnumDustTypes vals[] = EnumDustTypes.values();
// 			metaVals = new int[vals.length];
// 			for(int i=0;i<vals.length;i++){
// 				metaVals[i]=vals[i].meta();
// 			}
// 		}
// 		return metaVals;
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/items/DustVariable.java
// public class DustVariable extends DustPlaceholder {
// 	public static DustVariable instance;
// 	/**
// 	 */
// 	public DustVariable() {
// 		super("variable", 0xb92db1, true);
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.IDust#dustsMatch(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)
// 	 */
// 	@Override
// 	public boolean dustsMatch(ItemStack thisDust, ItemStack other) {
// 		return other.getItem() == ClassicDusts.instance;
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/proxy/IProxy.java
// public interface IProxy {
// 	public void RegisterItemModel(Item item,int meta,String modelpath,String variant);
// }


// Path: src/main/java/xilef11/mc/runesofwizardry_classics/RunesofWizardry_Classics.java
import org.apache.logging.log4j.Logger;
import com.zpig333.runesofwizardry.api.DustRegistry;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import xilef11.mc.runesofwizardry_classics.integration.guideapi.GuideBookAdditions;
import xilef11.mc.runesofwizardry_classics.items.ClassicDusts;
import xilef11.mc.runesofwizardry_classics.items.DustVariable;
import xilef11.mc.runesofwizardry_classics.proxy.IProxy;

package xilef11.mc.runesofwizardry_classics;


//note: loading before a dependency causes a noclassdeffound outside of a dev environment
//@Mod(modid = Refs.MODID, version = Refs.VERSION, name=Refs.NAME, guiFactory=Refs.GUI_FACTORY, dependencies = "required-after:runesofwizardry@[1.12-0.8.3,)",acceptedMinecraftVersions = "[1.2,1.13)")
@Mod(modid = Refs.MODID, version = Refs.VERSION, name=Refs.NAME, guiFactory=Refs.GUI_FACTORY, dependencies = "required-after:runesofwizardry;after:guideapi")
public class RunesofWizardry_Classics
{
	@SidedProxy(clientSide=Refs.CLIENT_PROXY,serverSide=Refs.SERVER_PROXY)