use of rtg.event.EventManagerRTG in project Realistic-Terrain-Generation by Team-RTG.
the class RTG method init.
@EventHandler
public void init(FMLInitializationEvent event) {
eventMgr = new EventManagerRTG();
eventMgr.registerEventHandlers();
// This event handler unregisters itself, so it doesn't need to be a part of the event management system.
if (config().ENABLE_WORLD_TYPE_NOTIFICATION_SCREEN.get()) {
MinecraftForge.EVENT_BUS.register(WorldTypeMessageEventHandler.instance);
}
}
Aggregations