Search in sources :

Example 1 with GameScreenCelestial

use of micdoodle8.mods.galacticraft.core.client.screen.GameScreenCelestial in project Galacticraft by micdoodle8.

the class GalacticraftCore method registerCoreGameScreens.

private static void registerCoreGameScreens() {
    if (GCCoreUtil.getEffectiveSide() == Side.CLIENT) {
        IGameScreen rendererBasic = new GameScreenBasic();
        IGameScreen rendererCelest = new GameScreenCelestial();
        // Type 0 - blank
        GalacticraftRegistry.registerScreen(rendererBasic);
        // Type 1 - local satellite view
        GalacticraftRegistry.registerScreen(rendererBasic);
        // Type 2 - solar system
        GalacticraftRegistry.registerScreen(rendererCelest);
        // Type 3 - local planet
        GalacticraftRegistry.registerScreen(rendererCelest);
        // Type 4 - render test
        GalacticraftRegistry.registerScreen(rendererCelest);
    } else {
        GalacticraftRegistry.registerScreensServer(5);
    }
}
Also used : IGameScreen(micdoodle8.mods.galacticraft.api.client.IGameScreen) GameScreenCelestial(micdoodle8.mods.galacticraft.core.client.screen.GameScreenCelestial) GameScreenBasic(micdoodle8.mods.galacticraft.core.client.screen.GameScreenBasic)

Aggregations

IGameScreen (micdoodle8.mods.galacticraft.api.client.IGameScreen)1 GameScreenBasic (micdoodle8.mods.galacticraft.core.client.screen.GameScreenBasic)1 GameScreenCelestial (micdoodle8.mods.galacticraft.core.client.screen.GameScreenCelestial)1