use of fi.dy.masa.malilib.interfaces.IRenderer in project Tweak-My-Client by Hendrix-Shen.
the class TweakMyClient method onInitialize.
@Override
public void onInitialize() {
ConfigManager.getInstance().registerConfigHandler(TweakMyClientReference.getModId(), new Configs());
InputEventHandler.getKeybindManager().registerKeybindProvider(InputHandler.getInstance());
IRenderer renderer = new RenderHandler();
RenderEventHandler.getInstance().registerWorldLastRenderer(renderer);
I18n.getInstance().register(TweakMyClientReference.getModId(), "en_us");
I18n.getInstance().register(TweakMyClientReference.getModId(), "zh_cn");
String modName = TweakMyClientReference.getModName();
logger.info(String.format("[%s]: Mod initialized - Version: %s (%s)", modName, TweakMyClientReference.getModVersion(), TweakMyClientReference.getModVersionType()));
logger.info(String.format("[%s]: AuthMe was %sdetected.", modName, (TweakMyClientReference.isAuthMeLoaded ? "" : "not ")));
logger.info(String.format("[%s]: InGameAccountSwitcher was %sdetected.", modName, (TweakMyClientReference.isInGameAccountSwitcherLoaded ? "" : "not ")));
logger.info(String.format("[%s]: Litematica was %sdetected.", modName, (TweakMyClientReference.isLitematicaLoaded ? "" : "not ")));
logger.info(String.format("[%s]: ReAuth was %sdetected.", modName, (TweakMyClientReference.isReAuthLoaded ? "" : "not ")));
}
Aggregations