use of rtg.api.config.RTGConfig in project Realistic-Terrain-Generation by Team-RTG.
the class RTG method initPre.
@EventHandler
public void initPre(FMLPreInitializationEvent event) {
instance = this;
worldtype = new WorldTypeRTG(ModInfo.WORLD_TYPE);
DimensionManagerRTG.addRTGDimension(DimensionManagerRTG.OVERWORLD);
RTGAPI.configPath = event.getModConfigurationDirectory() + File.separator + ModInfo.CONFIG_DIRECTORY + File.separator;
RTGAPI.rtgConfig = new RTGConfig();
RTGAPI.rtgConfig.load(configPath + "rtg.cfg");
this.registerStructures();
}
Aggregations