ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/config/ConfigurationHandler.java

42 lines
1.2 KiB
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
2016-05-16 22:52:27 +02:00
* This file ("ConfigurationHandler.java") is part of the Actually Additions mod for Minecraft.
2015-08-29 14:33:25 +02:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
2015-08-29 14:33:25 +02:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
2015-08-29 14:33:25 +02:00
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.config;
2019-05-02 09:10:29 +02:00
public class ConfigurationHandler {
2021-11-13 20:09:55 +01:00
//
// public static Configuration config;
//
// public ConfigurationHandler(File configFile) {
// ActuallyAdditions.LOGGER.info("Grabbing Configurations...");
//
// MinecraftForge.EVENT_BUS.register(this);
//
// config = new Configuration(configFile);
// config.load();
//
// redefineConfigs();
// }
//
// public static void redefineConfigs() {
// ConfigValues.defineConfigValues(config);
//
// if (config.hasChanged()) {
// config.save();
// }
// }
//
// @SubscribeEvent
// public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) {
// if (event.getModID().equalsIgnoreCase(ActuallyAdditions.MODID)) {
// redefineConfigs();
// }
// }
2015-03-30 15:08:19 +02:00
}