// Path: Journey of Legends/aginsun/journey/JourneyofLegends.java
// @Mod(modid = Utils.modID, version = Utils.Version, name = Utils.Name)
// @NetworkMod(channels = { Utils.modID },clientSideRequired = true, serverSideRequired = true, packetHandler = PacketHandler.class)
// public class JourneyofLegends 
// {
// 	@Instance (Utils.modID)
// 	public static JourneyofLegends instance = new JourneyofLegends();
// 	
// 	@SidedProxy(clientSide="aginsun.journey.client.core.ClientProxy",serverSide="aginsun.journey.core.CommonProxy")
// 	public static CommonProxy proxy;
// 		
// 	@EventHandler
// 	public void PreInit(FMLPreInitializationEvent event)
// 	{
// 		ConfigFileJoL.config(event);
// 	}
// 	
// 	@EventHandler
// 	public void load(FMLInitializationEvent event)
// 	{			
// 		InitEntities.Init();
// 		
// 		InitBlocks.Init();
// 		
// 		InitItems.Init();
// 		
//         NetworkRegistry.instance().registerGuiHandler(instance, proxy);
//         
// 		TickRegistry.registerTickHandler(new CommonTickHandler(), Side.SERVER);
// 		
// 		MinecraftForge.EVENT_BUS.register(new EntityLivingHandler());
// 		
// 		MinecraftForge.EVENT_BUS.register(new LivingAttackEventHandler());
// 		
// 		MinecraftForge.EVENT_BUS.register(new LivingDeathEventHandler());
// 		
// 		proxy.RegisterRenderers();
// 		
// 		WorldgenChests.Init();
// 	}
// 	
// 	@EventHandler
// 	public void PostInit(FMLPostInitializationEvent event)
// 	{
// 		proxy.registerPostInit();
// 		
// 		GoldValueHandler.setGoldValues();
// 				
// 		QuestRegistry.InitQuests();
// 	}
// 	
// 	@EventHandler
// 	public void serverStarting(FMLServerStartingEvent event)
// 	{		
// 		CommandHandler commandManager = (CommandHandler)event.getServer().getCommandManager();
// 		commandManager.registerCommand(new CommandJoLHandler());
// 	}
// 	
// 	@EventHandler
// 	public void serverStarted(FMLServerStartedEvent event)
// 	{
// 		GameRegistry.registerPlayerTracker(new SaveHandler());
// 		GameRegistry.registerPickupHandler(new PickupHandler());
// 	}
// }


import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import aginsun.journey.JourneyofLegends;
package aginsun.journey.universal.handlers;




/**sets all the gold values for the vanilla items
 * and also any mod items that I want to be added.
 * 
 * note: Evydder did the old system!
 * @author Aginsun, Evydder
 * 
 */

public class GoldValueHandler 
{
	public static HashMap<String, Integer> goldValues = new HashMap<String, Integer>();
	
	public static void setGoldValues()
	{
		goldValues.clear();
// Path: Journey of Legends/aginsun/journey/JourneyofLegends.java
// @Mod(modid = Utils.modID, version = Utils.Version, name = Utils.Name)
// @NetworkMod(channels = { Utils.modID },clientSideRequired = true, serverSideRequired = true, packetHandler = PacketHandler.class)
// public class JourneyofLegends 
// {
// 	@Instance (Utils.modID)
// 	public static JourneyofLegends instance = new JourneyofLegends();
// 	
// 	@SidedProxy(clientSide="aginsun.journey.client.core.ClientProxy",serverSide="aginsun.journey.core.CommonProxy")
// 	public static CommonProxy proxy;
// 		
// 	@EventHandler
// 	public void PreInit(FMLPreInitializationEvent event)
// 	{
// 		ConfigFileJoL.config(event);
// 	}
// 	
// 	@EventHandler
// 	public void load(FMLInitializationEvent event)
// 	{			
// 		InitEntities.Init();
// 		
// 		InitBlocks.Init();
// 		
// 		InitItems.Init();
// 		
//         NetworkRegistry.instance().registerGuiHandler(instance, proxy);
//         
// 		TickRegistry.registerTickHandler(new CommonTickHandler(), Side.SERVER);
// 		
// 		MinecraftForge.EVENT_BUS.register(new EntityLivingHandler());
// 		
// 		MinecraftForge.EVENT_BUS.register(new LivingAttackEventHandler());
// 		
// 		MinecraftForge.EVENT_BUS.register(new LivingDeathEventHandler());
// 		
// 		proxy.RegisterRenderers();
// 		
// 		WorldgenChests.Init();
// 	}
// 	
// 	@EventHandler
// 	public void PostInit(FMLPostInitializationEvent event)
// 	{
// 		proxy.registerPostInit();
// 		
// 		GoldValueHandler.setGoldValues();
// 				
// 		QuestRegistry.InitQuests();
// 	}
// 	
// 	@EventHandler
// 	public void serverStarting(FMLServerStartingEvent event)
// 	{		
// 		CommandHandler commandManager = (CommandHandler)event.getServer().getCommandManager();
// 		commandManager.registerCommand(new CommandJoLHandler());
// 	}
// 	
// 	@EventHandler
// 	public void serverStarted(FMLServerStartedEvent event)
// 	{
// 		GameRegistry.registerPlayerTracker(new SaveHandler());
// 		GameRegistry.registerPickupHandler(new PickupHandler());
// 	}
// }


// Path: Journey of Legends/aginsun/journey/universal/handlers/GoldValueHandler.java
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import aginsun.journey.JourneyofLegends;

package aginsun.journey.universal.handlers;




/**sets all the gold values for the vanilla items
 * and also any mod items that I want to be added.
 * 
 * note: Evydder did the old system!
 * @author Aginsun, Evydder
 * 
 */

public class GoldValueHandler 
{
	public static HashMap<String, Integer> goldValues = new HashMap<String, Integer>();
	
	public static void setGoldValues()
	{
		goldValues.clear();
		InputStream input = JourneyofLegends.class.getResourceAsStream("/assets/journeyoflegends/textures/utils/GoldValues.txt");