cpw.mods.fml.client.event.ConfigChangedEvent Java Examples
The following examples show how to use
cpw.mods.fml.client.event.ConfigChangedEvent.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConfigurationHandler.java From LetsModReboot with GNU General Public License v3.0 | 5 votes |
@SubscribeEvent public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) { if (event.modID.equalsIgnoreCase(Reference.MOD_ID)) { loadConfiguration(); } }
Example #2
Source File: EventHandlerEMT.java From Electro-Magic-Tools with GNU General Public License v3.0 | 5 votes |
@SubscribeEvent public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs) { if (eventArgs.modID.equals(ModInformation.modid)) { ConfigHandler.syncConfig(); ElectroMagicTools.logger.info(TextHelper.localize("console.EMT.config.refresh")); } }
Example #3
Source File: Chisel.java From Chisel with GNU General Public License v2.0 | 5 votes |
@SubscribeEvent public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) { if(event.modID.equals("chisel")) { Configurations.refreshConfig(); } }
Example #4
Source File: ConfigurationHandler.java From Et-Futurum with The Unlicense | 4 votes |
@SubscribeEvent public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs) { if (Reference.MOD_ID.equals(eventArgs.modID)) syncConfigs(); }
Example #5
Source File: Chisel.java From Chisel-2 with GNU General Public License v2.0 | 4 votes |
@SubscribeEvent public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) { if (event.modID.equals("chisel")) { Configurations.refreshConfig(); } }
Example #6
Source File: Config.java From PneumaticCraft with GNU General Public License v3.0 | 4 votes |
@SubscribeEvent public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs){ if(eventArgs.modID.equals(Names.MOD_ID)) { init(null); } }