From 943f1a493b27c630e95730b385e6524643d98564 Mon Sep 17 00:00:00 2001 From: bspkrs Date: Sat, 14 Dec 2013 20:51:01 -0500 Subject: changed mod back to being Jewelrycraft and removed all Briefcase Speakers code Let's face it, they don't belong together in the same mod... I'll still help you with the SMP compatibility like you originally asked me to, but I'd rather keep my mod idea for another day instead of have it be part of a mod that I'm not really that interested in. Let me know when your code is far enough that you're ready for SMP stuff. --- .../briefcasespeakers/config/ConfigHandler.java | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 common/bspkrs/briefcasespeakers/config/ConfigHandler.java (limited to 'common/bspkrs/briefcasespeakers/config/ConfigHandler.java') diff --git a/common/bspkrs/briefcasespeakers/config/ConfigHandler.java b/common/bspkrs/briefcasespeakers/config/ConfigHandler.java deleted file mode 100644 index 4b990bd..0000000 --- a/common/bspkrs/briefcasespeakers/config/ConfigHandler.java +++ /dev/null @@ -1,50 +0,0 @@ -package bspkrs.briefcasespeakers.config; - -import net.minecraftforge.common.Configuration; -import cpw.mods.fml.common.event.FMLPreInitializationEvent; - -public class ConfigHandler -{ - private static Configuration config; - public static int idThiefGloves = 17493; - - public static int idSpeaker = 17495; - public static int idRemote = 17496; - public static int idShadowIngot = 17497; - - public static int idBriefcaseSpeakers = 1749; - - public static int idShadowOre = 1750; - public static int idSmelter = 1751; - public static int idMolder = 1752; - public static int idJewelCraftingTable = 1753; - - private static boolean isInitialized = false; - - public static void preInit(FMLPreInitializationEvent e) - { - if (!isInitialized) - { - config = new Configuration(e.getSuggestedConfigurationFile()); - - config.load(); - - // Blocks - idBriefcaseSpeakers = config.getBlock("id.BriefcaseSpeakers", idBriefcaseSpeakers).getInt(); - - // Items - idThiefGloves = config.getItem("id.ThiefGloves", idThiefGloves).getInt(); - idSpeaker = config.getItem("id.Speaker", idSpeaker).getInt(); - idRemote = config.getItem("id.Remote", idRemote).getInt(); - idShadowIngot = config.getItem("id.ShadowIngot", idShadowIngot).getInt(); - idShadowOre = config.getBlock("id.ShadowOre", idShadowOre).getInt(); - idSmelter = config.getBlock("id.Smelter", idSmelter).getInt(); - idMolder = config.getBlock("id.Molder", idMolder).getInt(); - idJewelCraftingTable = config.getBlock("id.JewelCraftingTable", idJewelCraftingTable).getInt(); - - config.save(); - - isInitialized = true; - } - } -} -- cgit v1.2.3