Search in sources :

Example 1 with SkyProviderOrbit

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

the class WorldProviderOverworldOrbit method createSkyProvider.

@Override
@SideOnly(Side.CLIENT)
public void createSkyProvider() {
    this.setSkyRenderer(new SkyProviderOrbit(new ResourceLocation(Constants.ASSET_PREFIX, "textures/gui/celestialbodies/earth.png"), true, true));
    this.setSpinDeltaPerTick(this.getSpinManager().getSpinRate());
    if (this.getCloudRenderer() == null)
        this.setCloudRenderer(new CloudRenderer());
}
Also used : SkyProviderOrbit(micdoodle8.mods.galacticraft.core.client.SkyProviderOrbit) CloudRenderer(micdoodle8.mods.galacticraft.core.client.CloudRenderer) ResourceLocation(net.minecraft.util.ResourceLocation) SideOnly(net.minecraftforge.fml.relauncher.SideOnly)

Aggregations

CloudRenderer (micdoodle8.mods.galacticraft.core.client.CloudRenderer)1 SkyProviderOrbit (micdoodle8.mods.galacticraft.core.client.SkyProviderOrbit)1 ResourceLocation (net.minecraft.util.ResourceLocation)1 SideOnly (net.minecraftforge.fml.relauncher.SideOnly)1