Search in sources :

Example 1 with KeystrokesRenderer

use of cc.hyperium.mods.keystrokes.render.KeystrokesRenderer in project Hyperium by HyperiumClient.

the class KeystrokesMod method init.

/**
 * Init method, loads configs and events for the KeystrokesMod
 *
 * @return this mods instance
 */
@Override
public AbstractMod init() {
    config = new KeystrokesSettings(this, Hyperium.folder);
    config.load();
    new Sk1erMod("keystrokesmod", VERSION).checkStatus();
    renderer = new KeystrokesRenderer(this);
    EventBus.INSTANCE.register(renderer);
    Hyperium.INSTANCE.getHandlers().getHyperiumCommandHandler().registerCommand(new CommandKeystrokes(this));
    return this;
}
Also used : KeystrokesSettings(cc.hyperium.mods.keystrokes.config.KeystrokesSettings) Sk1erMod(cc.hyperium.mods.sk1ercommon.Sk1erMod) KeystrokesRenderer(cc.hyperium.mods.keystrokes.render.KeystrokesRenderer)

Aggregations

KeystrokesSettings (cc.hyperium.mods.keystrokes.config.KeystrokesSettings)1 KeystrokesRenderer (cc.hyperium.mods.keystrokes.render.KeystrokesRenderer)1 Sk1erMod (cc.hyperium.mods.sk1ercommon.Sk1erMod)1