diff options
| author | bspkrs <bspkrs@gmail.com> | 2013-12-14 20:51:01 -0500 |
|---|---|---|
| committer | bspkrs <bspkrs@gmail.com> | 2013-12-14 20:51:01 -0500 |
| commit | 943f1a493b27c630e95730b385e6524643d98564 (patch) | |
| tree | 83c46a843eb0c51b6443cc8da0d0c3ca2f88294a /common/bspkrs/briefcasespeakers/config/ConfigHandler.java | |
| parent | 3465c5723075bbf6ece3c98239230155faad958f (diff) | |
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.
Diffstat (limited to 'common/bspkrs/briefcasespeakers/config/ConfigHandler.java')
| -rw-r--r-- | common/bspkrs/briefcasespeakers/config/ConfigHandler.java | 50 |
1 files changed, 0 insertions, 50 deletions
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; - } - } -} |
