Search in sources :

Example 1 with AutoGG

use of cc.hyperium.mods.autogg.AutoGG in project Hyperium by HyperiumClient.

the class Hyperium method preinit.

/**
 * Register things such as Languages to be used throughout the game.
 *
 * @param event Fired on startup, before screen is displayed {@link PreInitializationEvent}
 */
@InvokeEvent
public void preinit(PreInitializationEvent event) {
    EventBus.INSTANCE.register(new AutoGG());
    HyperiumLocale.registerHyperiumLang("af_ZA");
    HyperiumLocale.registerHyperiumLang("ar_SA");
    HyperiumLocale.registerHyperiumLang("bs_BA");
    HyperiumLocale.registerHyperiumLang("de_DE");
    HyperiumLocale.registerHyperiumLang("en_US");
    HyperiumLocale.registerHyperiumLang("ga_IE");
    HyperiumLocale.registerHyperiumLang("ja_JP");
}
Also used : AutoGG(cc.hyperium.mods.autogg.AutoGG) InvokeEvent(cc.hyperium.event.InvokeEvent)

Aggregations

InvokeEvent (cc.hyperium.event.InvokeEvent)1 AutoGG (cc.hyperium.mods.autogg.AutoGG)1