// Path: src/main/java/wanion/unidict/UniDict.java
// @SuppressWarnings("unused")
// @Mod(modid = MOD_ID, name = MOD_NAME, version = MOD_VERSION, acceptedMinecraftVersions = MC_VERSION, dependencies = DEPENDENCIES)
// public final class UniDict
// {
// 	@Mod.Instance(MOD_ID)
// 	public static UniDict instance;
// 
// 	@SidedProxy(clientSide = CLIENT_PROXY, serverSide = SERVER_PROXY)
// 	public static CommonProxy proxy;
// 
// 	private static Logger logger;
// 
// 	public static Logger getLogger()
// 	{
// 		return logger;
// 	}
// 
// 	public static Dependencies<IDependency> getDependencies()
// 	{
// 		return proxy.dependencies;
// 	}
// 
// 	public static ResourceHandler getResourceHandler()
// 	{
// 		return proxy.dependencies.get(ResourceHandler.class);
// 	}
// 
// 	public static UniOreDictionary getUniOreDictionary()
// 	{
// 		return proxy.dependencies.get(UniOreDictionary.class);
// 	}
// 
// 	public static Config getConfig()
// 	{
// 		return Config.INSTANCE;
// 	}
// 
// 	public static UniDictAPI getAPI()
// 	{
// 		return UniDictAPI.getInstance();
// 	}
// 
// 	public static ModuleHandler getModuleHandler()
// 	{
// 		return proxy.moduleHandler;
// 	}
// 
// 	@Mod.EventHandler
// 	public void preInit(final FMLPreInitializationEvent event)
// 	{
// 		logger = event.getModLog();
// 		proxy.preInit(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void init(final FMLInitializationEvent event)
// 	{
// 		proxy.init(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void postInit(final FMLPostInitializationEvent event)
// 	{
// 		proxy.postInit(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void loadComplete(final FMLLoadCompleteEvent event)
// 	{
// 		proxy.loadComplete(event);
// 		proxy.clean();
// 	}
// 
// 	@NetworkCheckHandler
// 	public boolean matchModVersions(final Map<String, String> remoteVersions, final Side side)
// 	{
// 		return side == Side.CLIENT ? remoteVersions.containsKey(MOD_ID) : !remoteVersions.containsKey(MOD_ID) || remoteVersions.get(MOD_ID).equals(MOD_VERSION);
// 	}
// 
// 	public interface IDependency {}
// 
// 	@Retention(RetentionPolicy.RUNTIME)
// 	@Target(ElementType.TYPE)
// 	public @interface Module {}
// 
// 	@Retention(RetentionPolicy.RUNTIME)
// 	@Target(ElementType.TYPE)
// 	public @interface Integration {}
// }
// 
// Path: src/main/java/wanion/unidict/common/Reference.java
// public final class Reference
// {
// 	public static final String MOD_ID = "unidict";
// 	public static final String MOD_NAME = "UniDict";
// 	public static final String MOD_VERSION = "@version@";
// 	public static final String DEPENDENCIES = "required-after:wanionlib@[1.12.2-2.5,);after:*";
// 	public static final char SLASH = separatorChar;
// 	public static final String MC_VERSION = "[1.12,]";
// 	public static final String CLIENT_PROXY = "wanion.unidict.proxy.ClientProxy";
// 	public static final String SERVER_PROXY = "wanion.unidict.proxy.CommonProxy";
// 
// 	private Reference() {}
// }


import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Loader;
import org.apache.commons.lang3.text.WordUtils;
import wanion.lib.module.AbstractModule;
import wanion.unidict.UniDict;
import wanion.unidict.common.Reference;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.File;
import static wanion.unidict.common.Reference.SLASH;
package wanion.unidict.modconfig;

/*
 * Created by ElektroKill(https://github.com/ElektroKill).
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */




public class ModConfigModule extends AbstractModule implements UniDict.IDependency {
    public ModConfigModule() { super("Mod Config", Class::newInstance); }

    public static ModConfigModule getModConfigModule()
    {
        return UniDict.getDependencies().get(ModConfigModule.class);
    }

    @Override
    protected void init() {
        final Configuration config =
// Path: src/main/java/wanion/unidict/UniDict.java
// @SuppressWarnings("unused")
// @Mod(modid = MOD_ID, name = MOD_NAME, version = MOD_VERSION, acceptedMinecraftVersions = MC_VERSION, dependencies = DEPENDENCIES)
// public final class UniDict
// {
// 	@Mod.Instance(MOD_ID)
// 	public static UniDict instance;
// 
// 	@SidedProxy(clientSide = CLIENT_PROXY, serverSide = SERVER_PROXY)
// 	public static CommonProxy proxy;
// 
// 	private static Logger logger;
// 
// 	public static Logger getLogger()
// 	{
// 		return logger;
// 	}
// 
// 	public static Dependencies<IDependency> getDependencies()
// 	{
// 		return proxy.dependencies;
// 	}
// 
// 	public static ResourceHandler getResourceHandler()
// 	{
// 		return proxy.dependencies.get(ResourceHandler.class);
// 	}
// 
// 	public static UniOreDictionary getUniOreDictionary()
// 	{
// 		return proxy.dependencies.get(UniOreDictionary.class);
// 	}
// 
// 	public static Config getConfig()
// 	{
// 		return Config.INSTANCE;
// 	}
// 
// 	public static UniDictAPI getAPI()
// 	{
// 		return UniDictAPI.getInstance();
// 	}
// 
// 	public static ModuleHandler getModuleHandler()
// 	{
// 		return proxy.moduleHandler;
// 	}
// 
// 	@Mod.EventHandler
// 	public void preInit(final FMLPreInitializationEvent event)
// 	{
// 		logger = event.getModLog();
// 		proxy.preInit(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void init(final FMLInitializationEvent event)
// 	{
// 		proxy.init(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void postInit(final FMLPostInitializationEvent event)
// 	{
// 		proxy.postInit(event);
// 	}
// 
// 	@Mod.EventHandler
// 	public void loadComplete(final FMLLoadCompleteEvent event)
// 	{
// 		proxy.loadComplete(event);
// 		proxy.clean();
// 	}
// 
// 	@NetworkCheckHandler
// 	public boolean matchModVersions(final Map<String, String> remoteVersions, final Side side)
// 	{
// 		return side == Side.CLIENT ? remoteVersions.containsKey(MOD_ID) : !remoteVersions.containsKey(MOD_ID) || remoteVersions.get(MOD_ID).equals(MOD_VERSION);
// 	}
// 
// 	public interface IDependency {}
// 
// 	@Retention(RetentionPolicy.RUNTIME)
// 	@Target(ElementType.TYPE)
// 	public @interface Module {}
// 
// 	@Retention(RetentionPolicy.RUNTIME)
// 	@Target(ElementType.TYPE)
// 	public @interface Integration {}
// }
// 
// Path: src/main/java/wanion/unidict/common/Reference.java
// public final class Reference
// {
// 	public static final String MOD_ID = "unidict";
// 	public static final String MOD_NAME = "UniDict";
// 	public static final String MOD_VERSION = "@version@";
// 	public static final String DEPENDENCIES = "required-after:wanionlib@[1.12.2-2.5,);after:*";
// 	public static final char SLASH = separatorChar;
// 	public static final String MC_VERSION = "[1.12,]";
// 	public static final String CLIENT_PROXY = "wanion.unidict.proxy.ClientProxy";
// 	public static final String SERVER_PROXY = "wanion.unidict.proxy.CommonProxy";
// 
// 	private Reference() {}
// }


// Path: src/main/java/wanion/unidict/modconfig/ModConfigModule.java
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Loader;
import org.apache.commons.lang3.text.WordUtils;
import wanion.lib.module.AbstractModule;
import wanion.unidict.UniDict;
import wanion.unidict.common.Reference;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.File;
import static wanion.unidict.common.Reference.SLASH;

package wanion.unidict.modconfig;

/*
 * Created by ElektroKill(https://github.com/ElektroKill).
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */




public class ModConfigModule extends AbstractModule implements UniDict.IDependency {
    public ModConfigModule() { super("Mod Config", Class::newInstance); }

    public static ModConfigModule getModConfigModule()
    {
        return UniDict.getDependencies().get(ModConfigModule.class);
    }

    @Override
    protected void init() {
        final Configuration config =
                new Configuration(new File("." + SLASH + "config" + SLASH + Reference.MOD_ID + SLASH + "ModConfigModule.cfg"));