Search in sources :

Example 1 with RenderHandler

use of top.hendrixshen.TweakMyClient.event.RenderHandler 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 ")));
}
Also used : IRenderer(fi.dy.masa.malilib.interfaces.IRenderer) Configs(top.hendrixshen.TweakMyClient.config.Configs) RenderHandler(top.hendrixshen.TweakMyClient.event.RenderHandler)

Aggregations

IRenderer (fi.dy.masa.malilib.interfaces.IRenderer)1 Configs (top.hendrixshen.TweakMyClient.config.Configs)1 RenderHandler (top.hendrixshen.TweakMyClient.event.RenderHandler)1